Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/code-pushup/cli
/ workspace-packages.unit.test.ts
File
workspace-packages.unit.test.ts
packages/utils/src/lib/workspace-packages.unit.test.ts:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
import
{ vol } from
'memfs'
;
2
import
path from
'node:path'
;
3
import
type
{ PackageJson } from
'type-fest'
;
4
import
{ MEMFS_VOLUME } from
'@code-pushup/test-utils'
;
Callers
nothing calls this directly
Calls
8
listPackages
Function · 0.85
listWorkspaces
Function · 0.85
hasWorkspacesEnabled
Function · 0.85
readRootPackageJson
Function · 0.85
hasScript
Function · 0.85
hasDependency
Function · 0.85
hasCodePushUpDependency
Function · 0.85
pkgJsonContent
Function · 0.70
Tested by
no test coverage detected