MCPcopy
hub / github.com/vitest-dev/vitest / mock-importActual.test.ts

File mock-importActual.test.ts

test/coverage-test/test/mock-importActual.test.ts:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1import { expect } from 'vitest'
2import { isBrowser, isNativeRunner, isV8Provider, readCoverageMap, runVitest, test } from '../utils'
3
4test('vi.importActual() collects coverage of original module', async () => {

Callers

nothing calls this directly

Calls 8

runVitestFunction · 0.90
readCoverageMapFunction · 0.90
isBrowserFunction · 0.90
isV8ProviderFunction · 0.90
isNativeRunnerFunction · 0.90
keysMethod · 0.80
testFunction · 0.50
sortMethod · 0.45

Tested by

no test coverage detected