mirror of
https://github.com/CommunitySolidServer/CommunitySolidServer.git
synced 2024-10-03 14:55:10 +00:00
chore: Update lint dependencies
This commit is contained in:
@@ -17,9 +17,9 @@ describe('A JsonFileStorage', (): void => {
|
||||
cache = mockFileSystem(rootFilePath);
|
||||
locker = {
|
||||
withReadLock:
|
||||
jest.fn(async(identifier: ResourceIdentifier, whileLocked: () => any): Promise<any> => await whileLocked()),
|
||||
jest.fn(async(identifier: ResourceIdentifier, whileLocked: () => any): Promise<any> => whileLocked()),
|
||||
withWriteLock:
|
||||
jest.fn(async(identifier: ResourceIdentifier, whileLocked: () => any): Promise<any> => await whileLocked()),
|
||||
jest.fn(async(identifier: ResourceIdentifier, whileLocked: () => any): Promise<any> => whileLocked()),
|
||||
};
|
||||
storage = new JsonFileStorage(`${rootFilePath}${jsonPath}`, locker);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user