MCPcopy
hub / github.com/vitest-dev/vitest / state

Function state

packages/vitest/src/integrations/vi.ts:480–480  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

478 let _config: null | SerializedConfig = null
479
480 const state = () => getWorkerState()
481
482 let _timers: FakeTimers
483

Callers 7

timersFunction · 0.70
useFakeTimersFunction · 0.70
stubEnvFunction · 0.70
unstubAllEnvsFunction · 0.70
resetModulesFunction · 0.70
setConfigFunction · 0.70
resetConfigFunction · 0.70

Calls 1

getWorkerStateFunction · 0.90

Tested by

no test coverage detected