mirror of
https://github.com/immich-app/immich.git
synced 2025-01-07 00:50:23 -05:00
16 lines
355 B
TypeScript
16 lines
355 B
TypeScript
|
import { ILoggerRepository } from 'src/interfaces/logger.interface';
|
||
|
|
||
|
export const newLoggerRepositoryMock = (): jest.Mocked<ILoggerRepository> => {
|
||
|
return {
|
||
|
setLogLevel: jest.fn(),
|
||
|
setContext: jest.fn(),
|
||
|
|
||
|
verbose: jest.fn(),
|
||
|
debug: jest.fn(),
|
||
|
log: jest.fn(),
|
||
|
warn: jest.fn(),
|
||
|
error: jest.fn(),
|
||
|
fatal: jest.fn(),
|
||
|
};
|
||
|
};
|