Add coverage option to tests
continuous-integration/drone the build was successful Details

This commit is contained in:
Manuel Friedli 2018-09-07 12:36:53 +02:00
parent d9ec7aeb3b
commit 1c6c7d556e
1 changed files with 2 additions and 2 deletions

View File

@ -24,8 +24,8 @@
"start": "ng serve", "start": "ng serve",
"build": "ng build --delete-output-path", "build": "ng build --delete-output-path",
"build-prod": "ng build --prod --optimization --aot --delete-output-path --build-optimizer", "build-prod": "ng build --prod --optimization --aot --delete-output-path --build-optimizer",
"test": "ng test", "test": "ng test --code-coverage",
"test:ci": "ng test --browsers ChromeHeadlessNoSandbox --watch=false", "test:ci": "ng test --browsers ChromeHeadlessNoSandbox --watch=false --code-coverage",
"lint": "ng lint", "lint": "ng lint",
"e2e": "ng e2e", "e2e": "ng e2e",
"postinstall": "npm rebuild node-sass" "postinstall": "npm rebuild node-sass"