MCPcopy Create free account
hub / github.com/Effect-TS/effect / testOptions

Function testOptions

packages/vitest/src/internal/internal.ts:52–52  ·  view source on GitHub ↗
(timeout?: number | V.TestOptions)

Source from the content-addressed store, hash-verified

50
51/** @internal */
52const testOptions = (timeout?: number | V.TestOptions) => typeof timeout === "number" ? { timeout } : timeout ?? {}
53
54const hookTimeout = (timeout?: Duration.Input) =>
55 timeout === undefined ? undefined : Duration.toMillis(Duration.fromInputUnsafe(timeout))

Callers 8

fFunction · 0.85
skipFunction · 0.85
skipIfFunction · 0.85
runIfFunction · 0.85
onlyFunction · 0.85
eachFunction · 0.85
failsFunction · 0.85
propFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected