Angular 7 References/ CLI

ng test

This is the documentation for Angular 7.
You can switch to the latest version Angular 10.
ng test [--[argument]=[value]]

Alias for the command:

ng run [project]:test

In the default configuration for ng test using builder karma.

With this command you can override any builder's option.

Links & Tutorials



Flag to set configuration to `production`. Alias for the command: ``` ng run [default-project]:test:production ```
Type boolean


Specify the configuration to use.
Type string
Aliases c