MCPcopy Create free account
hub / github.com/angular/angular / runNgp

Function runNgp

packages/compiler-cli/preprocessor/test/ngp_spec.ts:30–36  ·  view source on GitHub ↗
(args: string[])

Source from the content-addressed store, hash-verified

28 let tsconfigPath: string;
29
30 const runNgp = (args: string[]) => {
31 return execFileSync(process.execPath, [...process.execArgv, ngpPath, ...args], {
32 encoding: 'utf-8',
33 stdio: 'pipe',
34 env: process.env,
35 });
36 };
37
38 beforeAll(async () => {
39 const mdPath = path.join(fixtureDir, 'source.md');

Callers 1

ngp_spec.tsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected