Skip to content
Snippets Groups Projects
Commit 4f10adb1 authored by Cédric OLIVIER's avatar Cédric OLIVIER
Browse files

Merge branch 'update-ng-test-doc' into 'master'

fix(doc): Update NG_TEST_ARGS documentation

See merge request to-be-continuous/angular!44
parents 2fda0ecb bf65061a
No related branches found
No related tags found
No related merge requests found
# GitLab CI template for Angular
This project implements a GitLab CI/CD template to build, test and analyse your
[Angular](https://angular.io/) projects.
This project implements a GitLab CI/CD template to build, test and analyse your [Angular](https://angular.io/) projects.
## Usage
......@@ -66,7 +65,7 @@ Those stage are bound to the `build` stage, and uses the following variable:
| Name | description | default value |
|-----------------|------------------------------------------------------------|---------------------------------------------------|
| `NG_TEST_ARGS` | Angular [ng test](https://angular.io/cli/test) arguments | `test --code-coverage --reporters progress,junit` |
| `NG_TEST_ARGS` | Angular [ng test](https://angular.io/cli/test) arguments | `test --code-coverage --reporters progress,junit --watch=false --no-progress` |
| `NG_BUILD_ARGS` | Angular [ng build](https://angular.io/cli/build) arguments | `build` |
The next chapters presents some requirements related to your unit tests (using Karma).
......@@ -251,7 +250,7 @@ Additionally, if using **SonarQube**, you may also want to generate [SonarQube g
3. In your `jest.config.js`, add a jestSonar section to configure the name of the jest report.
```js
"devDependencies": {
...
...
},
"jestSonar": {
"reportPath": "reports",
......
......@@ -40,7 +40,7 @@
{
"name": "NG_TEST_ARGS",
"description": "Angular [ng test](https://angular.io/cli/test) arguments",
"default": "test --code-coverage --reporters progress,junit",
"default": "test --code-coverage --reporters progress,junit --watch=false --no-progress",
"advanced": true
}
],
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment