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

Function invalidate

packages/mocker/src/browser/register.ts:23–25  ·  view source on GitHub ↗
(ids)

Source from the content-addressed store, hash-verified

21 return rpc('vitest:mocks:resolveMock', { id, importer, options })
22 },
23 async invalidate(ids) {
24 return rpc('vitest:mocks:invalidate', { ids })
25 },
26 },
27 createMockInstance,
28 {

Callers

nothing calls this directly

Calls 1

rpcFunction · 0.90

Tested by

no test coverage detected