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

Function relative

packages/vitest/src/node/reporters/base.ts:78–80  ·  view source on GitHub ↗
(path: string)

Source from the content-addressed store, hash-verified

76 }
77
78 relative(path: string): string {
79 return relative(this.ctx.config.root, path)
80 }
81
82 onTestRunStart(_specifications: ReadonlyArray<TestSpecification>): void {
83 this.start = performance.now()

Callers 15

printAnnotationsFunction · 0.70
onUserConsoleLogFunction · 0.70
onTestRunEndMethod · 0.70
generateFileIdFunction · 0.50
resolveScreenshotPathFunction · 0.50
resolveOptionsFunction · 0.50
sanitizeArgFunction · 0.50
createFileTaskFunction · 0.50
getLocationStringFunction · 0.50
writeReportMethod · 0.50
collectTestsFunction · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected