configure package.json test:ci script to call app/package.json test:ci script

This commit is contained in:
Darren Nelsen 2018-03-14 14:47:55 -04:00
parent ff97b5d4fa
commit ad21b42b68
2 changed files with 2 additions and 2 deletions

View File

@ -14,7 +14,7 @@
"postinstall": "webdriver-manager update --gecko false", "postinstall": "webdriver-manager update --gecko false",
"start": "ionic serve", "start": "ionic serve",
"test": "ng test --code-coverage", "test": "ng test --code-coverage",
"test:ci": "ng test --watch=false", "test:ci": "ng test --watch=false --code-coverage && npm run e2e",
"cov": "opn coverage/index.html" "cov": "opn coverage/index.html"
}, },
"dependencies": { "dependencies": {

View File

@ -23,7 +23,7 @@
"start": "run-s watch-app", "start": "run-s watch-app",
"watch-app": "cd app && npm start", "watch-app": "cd app && npm start",
"test": "cd app && ng test --code-coverage", "test": "cd app && ng test --code-coverage",
"test:ci": "ng test --watch=false --code-coverage && npm run e2e" "test:ci": "cd app && npm test:ci"
}, },
"dependencies": {}, "dependencies": {},
"devDependencies": { "devDependencies": {