Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/vitest-dev/vitest
/ reject
Function
reject
packages/vitest/src/node/pools/pool.ts:287–287 ·
view source on GitHub ↗
(_error: unknown)
Source
from the content-addressed store, hash-verified
285
function
withResolvers() {
286
let
resolve = () => {}
287
let
reject = (_error: unknown) => {}
288
289
const
promise =
new
Promise<void>((res, rej) => {
290
resolve = res
Callers
8
withResolvers
Function · 0.70
onStart
Method · 0.70
withTimeout
Method · 0.70
spawn
Method · 0.50
onError
Method · 0.50
handleTimeout
Function · 0.50
onReject
Function · 0.50
execute
Function · 0.50
Calls
no outgoing calls
Tested by
no test coverage detected