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

Method finish

packages/snapshot/src/client.ts:96–101  ·  view source on GitHub ↗
(filepath: string)

Source from the content-addressed store, hash-verified

94 }
95
96 async finish(filepath: string): Promise<SnapshotResult> {
97 const state = this.getSnapshotState(filepath)
98 const result = await state.pack()
99 this.snapshotStateMap.delete(filepath)
100 return result
101 }
102
103 skipTest(filepath: string, testName: string): void {
104 const state = this.getSnapshotState(filepath)

Callers

nothing calls this directly

Calls 3

getSnapshotStateMethod · 0.95
packMethod · 0.80
deleteMethod · 0.45

Tested by

no test coverage detected