mirror of
https://github.com/CommunitySolidServer/CommunitySolidServer.git
synced 2024-10-03 14:55:10 +00:00
refactor: Enable stricter test linting
This commit is contained in:
@@ -223,6 +223,7 @@ describeIf('docker')('A server with a RedisLocker', (): void => {
|
||||
await expect(locker.withWriteLock(identifier, (): void => {
|
||||
res += 'l1';
|
||||
res += 'r1';
|
||||
// eslint-disable-next-line jest/require-to-throw-message
|
||||
})).rejects.toThrow();
|
||||
res += 'r0';
|
||||
})).resolves.toBeUndefined();
|
||||
|
||||
Reference in New Issue
Block a user