mirror of
https://github.com/CommunitySolidServer/CommunitySolidServer.git
synced 2024-10-03 14:55:10 +00:00
feat: Remove meta parameter from logging.
This commit is contained in:
committed by
Joachim Van Herwegen
parent
ce5a98b16f
commit
2c6167e0cb
@@ -157,9 +157,7 @@ describe('GuardedStream', (): void => {
|
||||
// Only the first error gets logged
|
||||
jest.advanceTimersByTime(900);
|
||||
expect(logger.error).toHaveBeenCalledTimes(1);
|
||||
expect(logger.error).toHaveBeenCalledWith(
|
||||
'No error listener was attached but error was thrown: 0', { error: errors[0] },
|
||||
);
|
||||
expect(logger.error).toHaveBeenCalledWith('No error listener was attached but error was thrown: 0');
|
||||
|
||||
jest.advanceTimersByTime(1000);
|
||||
expect(logger.error).toHaveBeenCalledTimes(1);
|
||||
|
||||
Reference in New Issue
Block a user