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

Function run

test/cli/test/expect-soft.test.ts:7–14  ·  view source on GitHub ↗
(config?: TestUserConfig)

Source from the content-addressed store, hash-verified

5
6describe('expect.soft', () => {
7 const run = (config?: TestUserConfig) => runVitest({
8 root: resolve('./fixtures/expect-soft'),
9 include: ['expects/soft.test.ts'],
10 setupFiles: [],
11 testNamePattern: TestRunner.getCurrentTest()?.name,
12 testTimeout: 4000,
13 ...config,
14 }, ['soft'])
15
16 test('basic', async () => {
17 const { stderr } = await run()

Callers 1

Calls 2

runVitestFunction · 0.90
resolveFunction · 0.50

Tested by

no test coverage detected