mirror of
https://github.com/CommunitySolidServer/CommunitySolidServer.git
synced 2024-10-03 14:55:10 +00:00
Merge branch 'main' into versions/3.0.0
# Conflicts: # package-lock.json # test/integration/Identity.test.ts # test/integration/RepresentationConverter.test.ts
This commit is contained in:
@@ -1,5 +1,4 @@
|
||||
import { EventEmitter } from 'events';
|
||||
// eslint-disable-next-line import/default
|
||||
import redis from 'redis';
|
||||
import Redlock from 'redlock';
|
||||
import type { Lock } from 'redlock';
|
||||
|
||||
@@ -25,7 +25,6 @@ describe('A SingleThreadedResourceLocker', (): void => {
|
||||
await expect(locker.release(identifier)).rejects.toThrow(InternalServerError);
|
||||
});
|
||||
|
||||
/* 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(identifier);
|
||||
|
||||
Reference in New Issue
Block a user