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

Function normalizeURL

test/coverage-test/utils.ts:148–150  ·  view source on GitHub ↗
(importMetaURL: string)

Source from the content-addressed store, hash-verified

146}
147
148export function normalizeURL(importMetaURL: string) {
149 return normalize(fileURLToPath(importMetaURL))
150}
151
152export function captureStdout() {
153 const spy = vi.fn()

Calls 1

normalizeFunction · 0.85

Tested by

no test coverage detected