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

Function windowsTests

tests/e2e/tests/commands/completion/completion.ts:375–383  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

373}
374
375async function windowsTests(): Promise<void> {
376 // Should fail with a clear error message.
377 const err = await execAndCaptureError('ng', ['completion']);
378 if (!err.message.includes("Cmd and Powershell don't support command autocompletion")) {
379 throw new Error(
380 `Expected Windows autocompletion to fail with custom error, but got:\n\n${err.message}`,
381 );
382 }
383}

Callers 1

completion.tsFile · 0.70

Calls 1

execAndCaptureErrorFunction · 0.90

Tested by

no test coverage detected