Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/npmx-dev/npmx.dev
/ dependency-resolver.spec.ts
File
dependency-resolver.spec.ts
test/unit/server/utils/dependency-resolver.spec.ts:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
import
{ describe, expect, it, vi, beforeEach } from
'vitest'
2
import
type
{ Packument, PackumentVersion } from
'#shared/types'
3
4
// Mock Nitro globals before importing the module
Callers
nothing calls this directly
Calls
5
matchesPlatform
Function · 0.85
resolveVersion
Function · 0.85
resolveDependencyTree
Function · 0.85
makePackument
Function · 0.70
get
Method · 0.65
Tested by
no test coverage detected