Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
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
runFiles
Method · 0.80
collectTests
Method · 0.80
createWorkspaceTypechecker
Function · 0.80
Calls
1
clear
Method · 0.65
Tested by
no test coverage detected