Last active
January 16, 2019 10:03
-
-
Save lovubuntu/825cd9b2a8f08d424c581aab0cfc59a0 to your computer and use it in GitHub Desktop.
Updated package file with scripts to run unit and e2e tests in headless mode
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"name": "angular-with-ci-cd", | |
"version": "0.0.0", | |
"scripts": { | |
"ng": "ng", | |
"start": "ng serve", | |
"build": "ng build", | |
"test": "ng test", | |
"lint": "ng lint", | |
"e2e": "ng e2e", | |
"test_headless": "ng test --watch false --browsers ChromeHeadless", | |
"e2e_headless": "ng e2e --protractor-config='e2e/ci.protractor.conf.js'", | |
"all_tests": "yarn lint && yarn test_headless && yarn e2e_headless" | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment