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

Method skipTest

packages/snapshot/src/client.ts:103–106  ·  view source on GitHub ↗
(filepath: string, testName: string)

Source from the content-addressed store, hash-verified

101 }
102
103 skipTest(filepath: string, testName: string): void {
104 const state = this.getSnapshotState(filepath)
105 state.markSnapshotsAsCheckedForTest(testName)
106 }
107
108 clearTest(filepath: string, testId: string): void {
109 const state = this.getSnapshotState(filepath)

Callers 1

onAfterRunSuiteMethod · 0.80

Calls 2

getSnapshotStateMethod · 0.95

Tested by

no test coverage detected