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:
@@ -17,7 +17,8 @@ describe('WinstonLoggerFactory', (): void => {
|
||||
|
||||
// Create a dummy log transport
|
||||
transport = new PassThrough({ objectMode: true }) as any;
|
||||
transport.write = jest.fn();
|
||||
jest.spyOn(transport, 'write').mockImplementation();
|
||||
// eslint-disable-next-line jest/prefer-spy-on
|
||||
transport.log = jest.fn();
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user