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

Function resolvePath

test/test-utils/index.ts:388–391  ·  view source on GitHub ↗
(baseUrl: string, path: string)

Source from the content-addressed store, hash-verified

386}
387
388export function resolvePath(baseUrl: string, path: string) {
389 const filename = fileURLToPath(baseUrl)
390 return resolve(dirname(filename), path)
391}
392
393export type TestFsStructure = Record<
394 string,

Callers 3

vm-threads.test.tsFile · 0.90

Calls 1

resolveFunction · 0.50

Tested by

no test coverage detected