mirror of
https://github.com/CommunitySolidServer/CommunitySolidServer.git
synced 2024-10-03 14:55:10 +00:00
chore: Use Jest recommended linting.
This commit is contained in:
committed by
Joachim Van Herwegen
parent
0476ba8069
commit
4b4f737013
@@ -23,6 +23,7 @@ describe('A SingleThreadedResourceLocker', (): void => {
|
||||
expect(lock).toEqual(expect.objectContaining({ release: expect.any(Function) }));
|
||||
});
|
||||
|
||||
/* eslint-disable jest/valid-expect-in-promise */
|
||||
it('blocks lock acquisition until they are released.', async(): Promise<void> => {
|
||||
const results: number[] = [];
|
||||
const lock1 = locker.acquire({ path: 'path' });
|
||||
|
||||
Reference in New Issue
Block a user