refactor: Bring lint config back to original strictness

This commit is contained in:
Joachim Van Herwegen
2023-10-30 14:32:21 +01:00
parent 7a007dc466
commit 3bb3004abb
52 changed files with 239 additions and 132 deletions

View File

@@ -485,7 +485,7 @@ describe('A FileDataAccessor', (): void => {
});
it('can delete the root container.', async(): Promise<void> => {
cache.data = { };
cache.data = {};
await expect(accessor.deleteResource({ path: `${base}` })).resolves.toBeUndefined();
expect(cache.data).toBeUndefined();
});

View File

@@ -25,7 +25,7 @@ function simplifyQuery(query: string | string[]): string {
if (Array.isArray(query)) {
query = query.join(' ');
}
return query.replace(/\n/gu, ' ').trim();
return query.replaceAll('\n', ' ').trim();
}
describe('A SparqlDataAccessor', (): void => {