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

Method clearTest

packages/snapshot/src/client.ts:108–111  ·  view source on GitHub ↗
(filepath: string, testId: string)

Source from the content-addressed store, hash-verified

106 }
107
108 clearTest(filepath: string, testId: string): void {
109 const state = this.getSnapshotState(filepath)
110 state.clearTest(testId)
111 }
112
113 getSnapshotState(filepath: string): SnapshotState {
114 const state = this.snapshotStateMap.get(filepath)

Callers 1

onBeforeTryTaskMethod · 0.45

Calls 1

getSnapshotStateMethod · 0.95

Tested by

no test coverage detected