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

Function resetModules

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

Source from the content-addressed store, hash-verified

803 },
804
805 resetModules() {
806 resetModules(state().evaluatedModules)
807 return utils
808 },
809
810 async dynamicImportSettled() {
811 return waitForImportsToResolve()

Callers

nothing calls this directly

Calls 2

resetModulesFunction · 0.90
stateFunction · 0.70

Tested by

no test coverage detected