Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/code-pushup/cli
/ compare.unit.test.ts
File
compare.unit.test.ts
packages/core/src/lib/compare.unit.test.ts:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
import
{ vol } from
'memfs'
;
2
import
* as fs from
'node:fs/promises'
;
3
import
path from
'node:path'
;
4
import
{ getPortalComparisonLink } from
'@code-pushup/portal-client'
;
Callers
nothing calls this directly
Calls
5
readJsonFile
Function · 0.90
fileExists
Function · 0.90
reportMock
Function · 0.90
compareReportFiles
Function · 0.85
compareReports
Function · 0.70
Tested by
no test coverage detected