Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Clone this wiki locally
ng test compiles the application into an output directory
Running unit tests
Tests will execute after a build is executed via Karma, and it will automatically watch your files for changes. You can run tests a single time via
You can run tests with coverage via
--code-coverage. The coverage report will be in the
Flag to set configuration to "prod".
Specify the configuration to use.
The name of the main entry-point file.
The name of the TypeScript configuration file.
The name of the Karma configuration file.
The name of the polyfills file.
Defines the build environment.
Log progress to the console while building.
Run build when files change.
Enable and define the file watching poll time period in milliseconds.
Do not use the real path when resolving modules.
Override which browsers tests are run against.
Output a code coverage report.