Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
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
1
import
{ Logger, loggerFactory } from
'../logger'
;
2
3
jest.mock(
'chalk'
, () => ({
4
cyan: jest.fn((text) => text),
Callers
nothing calls this directly
Calls
8
loggerFactory
Function · 0.90
setDebug
Method · 0.65
setSilent
Method · 0.65
debug
Method · 0.65
error
Method · 0.65
info
Method · 0.65
raw
Method · 0.65
warn
Method · 0.65
Tested by
no test coverage detected