(t: TestContext)
| 19 | @returns The path to the test project. |
| 20 | */ |
| 21 | const createProject = async (t: TestContext) => { |
| 22 | const cwd = await copyTestProject(); |
| 23 | t.after(async () => { |
| 24 | await fs.rm(cwd, {recursive: true, force: true}); |
| 25 | }); |
| 26 | return cwd; |
| 27 | }; |
| 28 | |
| 29 | // The tests run concurrently because each gets its own project directory and only shells out to the CLI. |
| 30 | // Concurrency is capped at the core count since each test spawns a CPU-heavy `node ./dist/cli` subprocess. |
no test coverage detected
searching dependent graphs…