MCPcopy
hub / github.com/vitest-dev/vitest / cli.test.js

File cli.test.js

test/node-runner/test/cli.test.js:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1import test from 'node:test'
2import { startVitest } from 'vitest/node'
3
4await test('importing vitest in the global setup is reported as an error', async (t) => {

Callers

nothing calls this directly

Calls 4

startVitestFunction · 0.90
getTestModulesMethod · 0.80
testFunction · 0.50
stateMethod · 0.45

Tested by

no test coverage detected