Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/vitest-dev/vitest
/ handler
Function
handler
test/core/test/task-collector.test.ts:35–39 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
33
fn: () => void,
34
) {
35
const
handler =
async
() => {
36
flag = false
37
await
fn()
38
assert(flag)
39
}
40
TestRunner.getCurrentSuite().task(name, { ...this, handler })
41
})
42
Callers
nothing calls this directly
Calls
2
assert
Function · 0.90
fn
Function · 0.70
Tested by
no test coverage detected