()
| 13 | return cleanup |
| 14 | |
| 15 | async function cleanup() { |
| 16 | for (const file of await getFiles()) { |
| 17 | if (file !== 'package.json') { |
| 18 | await rm(`${cwd}/${file}`, { recursive: true }) |
| 19 | } |
| 20 | } |
| 21 | await writeFile(`${cwd}/vitest.config.ts`, '{}', 'utf8') |
| 22 | } |
| 23 | }) |
| 24 | |
| 25 | test('initializes project', async () => { |
no test coverage detected