(config?: TestUserConfig)
| 5 | |
| 6 | describe('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() |
no test coverage detected