Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save GeoffMahugu/30aeeec5692120a2b411d488859cc7c0 to your computer and use it in GitHub Desktop.
Save GeoffMahugu/30aeeec5692120a2b411d488859cc7c0 to your computer and use it in GitHub Desktop.
"test": {
"builder": "@angular-devkit/build-angular:karma",
"options": {
"main": "src/test.ts",
"polyfills": "src/polyfills.ts",
"tsConfig": "src/tsconfig.spec.json",
"karmaConfig": "src/karma.conf.js",
"styles": [
"src/styles.css"
],
"scripts": [],
"assets": [
"src/favicon.ico",
"src/assets"
]
}
},
"angular.io-example-e2e": {
"root": "e2e/",
"projectType": "application",
"prefix": "",
"architect": {
"e2e": {
"builder": "@angular-devkit/build-angular:protractor",
"options": {
"protractorConfig": "e2e/protractor.conf.js",
"devServerTarget": "angular.io-example:serve"
},
"configurations": {
"production": {
"devServerTarget": "angular.io-example:serve:production"
}
}
},
"lint": {
"builder": "@angular-devkit/build-angular:tslint",
"options": {
"tsConfig": "e2e/tsconfig.e2e.json",
"exclude": [
"**/node_modules/**"
]
}
}
}
}
@GeoffMahugu
Copy link
Author

You will have to remove the test script as we are no longer using Karma as our test runner. Then you will have to remove the e2e settings as we don't want to create the folder nor the settings.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment