MCPcopy
hub / github.com/vitest-dev/vitest / mocked-__mocks__.test.ts

File mocked-__mocks__.test.ts

test/browser/fixtures/mocking/mocked-__mocks__.test.ts:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1import { expect, test, vi } from 'vitest'
2import { calculator } from './src/mocks_calculator'
3
4vi.mock(import('./src/mocks_calculator'))

Callers

nothing calls this directly

Calls 3

calculatorFunction · 0.90
mockMethod · 0.80
testFunction · 0.50

Tested by

no test coverage detected