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

Method clearErrors

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

Source from the content-addressed store, hash-verified

88 }
89
90 clearErrors(): void {
91 this.errorsSet.clear()
92 this.leakSet.clear()
93 }
94
95 getUnhandledErrors(): unknown[] {
96 return Array.from(this.errorsSet)

Callers 3

runFilesMethod · 0.80
collectTestsMethod · 0.80

Calls 1

clearMethod · 0.65

Tested by

no test coverage detected