MCPcopy
hub / github.com/vitest-dev/vitest / resolveId

Function resolveId

packages/vitest/src/integrations/env/loader.ts:47–49  ·  view source on GitHub ↗
(id, importer)

Source from the content-addressed store, hash-verified

45 return result
46 },
47 async resolveId(id, importer) {
48 return rpc.resolve(id, importer, '__vitest__')
49 },
50 }, evaluatedModules, new WeakMap()),
51 })
52 _loaders.set(root, moduleRunner)

Callers

nothing calls this directly

Calls 1

resolveMethod · 0.45

Tested by

no test coverage detected