MCPcopy Index your code
hub / github.com/angular/angular-cli / runTest

Function runTest

tests/e2e_runner.ts:325–330  ·  view source on GitHub ↗

* Run a file from the main 'test-project' directory in a subprocess via launchTestProcess().

(absoluteName: string)

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 3

getTestProjectDirFunction · 0.90
launchTestProcessFunction · 0.90
cleanTestProjectFunction · 0.85

Tested by

no test coverage detected