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

Function runInitializer

tests/e2e_runner.ts:316–320  ·  view source on GitHub ↗

* Run a file from the projects root directory in a subprocess via launchTestProcess().

(absoluteName: string)

Source from the content-addressed store, hash-verified

314 * Run a file from the projects root directory in a subprocess via launchTestProcess().
315 */
316function runInitializer(absoluteName: string): Promise<void> {
317 process.chdir(getGlobalVariable('projects-root'));
318
319 return launchTestProcess(absoluteName);
320}
321
322/**
323 * Run a file from the main 'test-project' directory in a subprocess via launchTestProcess().

Callers

nothing calls this directly

Calls 2

getGlobalVariableFunction · 0.90
launchTestProcessFunction · 0.90

Tested by

no test coverage detected