Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/vitest-dev/vitest
/ onInit
Function
onInit
test/cli/test/caching.test.ts:67–70 ·
view source on GitHub ↗
(vitest)
Source
from the content-addressed store, hash-verified
65
reporters: [
66
{
67
async
onInit(vitest) {
68
// make sure cache is empty
69
await
vitest.experimental_clearCache()
70
},
71
},
72
],
73
})
Callers
nothing calls this directly
Calls
1
experimental_clearCache
Method · 0.80
Tested by
no test coverage detected