MCPcopy 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

1import { describe, expect, it, vi, beforeEach } from 'vitest'
2import type { Packument, PackumentVersion } from '#shared/types'
3
4// Mock Nitro globals before importing the module

Callers

nothing calls this directly

Calls 5

matchesPlatformFunction · 0.85
resolveVersionFunction · 0.85
resolveDependencyTreeFunction · 0.85
makePackumentFunction · 0.70
getMethod · 0.65

Tested by

no test coverage detected