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:
@@ -257,9 +257,9 @@ describe('AppRunner', (): void => {
|
||||
} catch (error: unknown) {
|
||||
caughtError = error as Error;
|
||||
}
|
||||
expect(caughtError?.message).toMatch(/^Cannot run a singlethreaded-only component in a multithreaded setup!/mu);
|
||||
expect(caughtError?.message).toMatch(/^Cannot run a singlethreaded-only component in a multithreaded setup!/u);
|
||||
expect(caughtError?.message).toMatch(
|
||||
/\[ViolatingClass\] is not threadsafe and should not be run in multithreaded setups!/mu,
|
||||
/\[ViolatingClass\] is not threadsafe and should not be run in multithreaded setups!/u,
|
||||
);
|
||||
|
||||
expect(write).toHaveBeenCalledTimes(0);
|
||||
@@ -295,7 +295,7 @@ describe('AppRunner', (): void => {
|
||||
}
|
||||
expect(caughtError?.message).toMatch(/^Cannot run a singlethreaded-only component in a multithreaded setup!/mu);
|
||||
expect(caughtError?.message).toMatch(
|
||||
/\[ViolatingClass1, ViolatingClass2\] are not threadsafe and should not be run in multithreaded setups!/mu,
|
||||
/\[ViolatingClass1, ViolatingClass2\] are not threadsafe and should not be run in multithreaded setups!/u,
|
||||
);
|
||||
|
||||
expect(write).toHaveBeenCalledTimes(0);
|
||||
@@ -481,7 +481,7 @@ describe('AppRunner', (): void => {
|
||||
}
|
||||
expect(caughtError.message).toMatch(/^Cannot run a singlethreaded-only component in a multithreaded setup!/mu);
|
||||
expect(caughtError?.message).toMatch(
|
||||
/\[ViolatingClass\] is not threadsafe and should not be run in multithreaded setups!/mu,
|
||||
/\[ViolatingClass\] is not threadsafe and should not be run in multithreaded setups!/u,
|
||||
);
|
||||
|
||||
expect(write).toHaveBeenCalledTimes(0);
|
||||
@@ -820,7 +820,7 @@ describe('AppRunner', (): void => {
|
||||
await flushPromises();
|
||||
|
||||
expect(write).toHaveBeenCalledTimes(1);
|
||||
expect(write).toHaveBeenLastCalledWith(expect.stringMatching(/Error: Fatal/mu));
|
||||
expect(write).toHaveBeenLastCalledWith(expect.stringMatching(/Error: Fatal/u));
|
||||
|
||||
expect(exit).toHaveBeenCalledTimes(1);
|
||||
expect(exit).toHaveBeenLastCalledWith(1);
|
||||
|
||||
Reference in New Issue
Block a user