MCPcopy
hub / github.com/strapi/strapi / logger.test.ts

File logger.test.ts

packages/utils/upgrade/src/modules/logger/__tests__/logger.test.ts:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1import { Logger, loggerFactory } from '../logger';
2
3jest.mock('chalk', () => ({
4 cyan: jest.fn((text) => text),

Callers

nothing calls this directly

Calls 8

loggerFactoryFunction · 0.90
setDebugMethod · 0.65
setSilentMethod · 0.65
debugMethod · 0.65
errorMethod · 0.65
infoMethod · 0.65
rawMethod · 0.65
warnMethod · 0.65

Tested by

no test coverage detected