mirror of
https://github.com/CommunitySolidServer/CommunitySolidServer.git
synced 2024-10-03 14:55:10 +00:00
refactor: Bring lint config back to original strictness
This commit is contained in:
@@ -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();
|
||||
});
|
||||
|
||||
@@ -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 => {
|
||||
|
||||
Reference in New Issue
Block a user