* Run a file from the main 'test-project' directory in a subprocess via launchTestProcess().
(absoluteName: string)
| 323 | * Run a file from the main 'test-project' directory in a subprocess via launchTestProcess(). |
| 324 | */ |
| 325 | async function runTest(absoluteName: string): Promise<void> { |
| 326 | process.chdir(getTestProjectDir()); |
| 327 | |
| 328 | await launchTestProcess(absoluteName); |
| 329 | await cleanTestProject(); |
| 330 | } |
| 331 | |
| 332 | async function cleanTestProject() { |
| 333 | await gitClean(); |
nothing calls this directly
no test coverage detected