()
| 373 | } |
| 374 | |
| 375 | async 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 | } |
no test coverage detected