()
| 27 | ` |
| 28 | |
| 29 | async function startVitest() { |
| 30 | const { vitest } = await runVitestCli( |
| 31 | { nodeOptions: { cwd: root, env: { TEST_WATCH: 'true', NO_COLOR: 'true' } } }, |
| 32 | '--root', |
| 33 | root, |
| 34 | '--config', |
| 35 | config, |
| 36 | '--watch', |
| 37 | '--no-coverage', |
| 38 | ) |
| 39 | vitest.resetOutput() |
| 40 | return vitest |
| 41 | } |
| 42 | |
| 43 | afterEach(() => { |
| 44 | cleanups.splice(0).forEach(cleanup => cleanup()) |
no test coverage detected