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

Function testPath

packages/vitest/src/integrations/chai/index.ts:49–51  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

47 expectedAssertionsNumber: null,
48 expectedAssertionsNumberErrorGen: null,
49 get testPath() {
50 return getWorkerState().filepath
51 },
52 currentTestName: test
53 ? test.fullTestName ?? ''
54 : globalState.currentTestName,

Callers

nothing calls this directly

Calls 1

getWorkerStateFunction · 0.90

Tested by

no test coverage detected