Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/npmx-dev/npmx.dev
/ import-resolver.spec.ts
File
import-resolver.spec.ts
test/unit/server/utils/import-resolver.spec.ts:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
import
{ describe, expect, it } from
'vitest'
2
import
type
{ PackageFileTree } from
'#shared/types'
3
import
{
4
createImportResolver,
Callers
nothing calls this directly
Calls
3
flattenFileTree
Function · 0.90
resolveRelativeImport
Function · 0.90
createImportResolver
Function · 0.90
Tested by
no test coverage detected