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

Method getFailedFilepaths

packages/vitest/src/node/state.ts:133–137  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

131 }
132
133 getFailedFilepaths(): string[] {
134 return this.getFiles()
135 .filter(i => i.result?.state === 'fail')
136 .map(i => i.filepath)
137 }
138
139 collectPaths(paths: string[] = []): void {
140 paths.forEach((path) => {

Callers 2

rerunFailedMethod · 0.45
updateSnapshotMethod · 0.45

Calls 2

getFilesMethod · 0.95
filterMethod · 0.65

Tested by

no test coverage detected