Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/code-pushup/cli
/ file-size.plugin.unit.test.ts
File
file-size.plugin.unit.test.ts
examples/plugins/src/file-size/src/file-size.plugin.unit.test.ts:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
import
{ vol } from
'memfs'
;
2
import
{ unlink } from
'node:fs/promises'
;
3
import
path from
'node:path'
;
4
import
{ beforeEach, describe, expect, it } from
'vitest'
;
Callers
nothing calls this directly
Calls
9
formatBytes
Function · 0.90
runnerFunction
Function · 0.90
infoMessage
Function · 0.85
errorMessage
Function · 0.85
assertFileSize
Function · 0.85
fileSizeIssues
Function · 0.85
unlink
Function · 0.85
reset
Method · 0.80
toString
Method · 0.80
Tested by
no test coverage detected