Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/vitest-dev/vitest
/ getFn
Function
getFn
packages/runner/src/map.ts:14–16 ·
view source on GitHub ↗
(key: Task)
Source
from the content-addressed store, hash-verified
12
}
13
14
export
function
getFn<Task = Test>(key: Task): () => Awaitable<void> {
15
return
fnMap.get(key as any)
16
}
17
18
export
function
setTestFixture(
19
key: TestContext,
Callers
1
runTest
Function · 0.90
Calls
1
get
Method · 0.45
Tested by
no test coverage detected