Skip to content

Commit 6d0314f

Browse files
fix: Karma not exiting in a single run
The ng update didn't update angular.json file to point to the @Angular-devkit package for karma. I must have googled something to fix it in 77df8ef but only managed to install the package and not actually tell angular.json to use it. This change makes it so that we are building with a version of karma that allows run once (and matches what template you get using the ng new command) closes #84
1 parent 9b31ed6 commit 6d0314f

File tree

2 files changed

+164
-151
lines changed

2 files changed

+164
-151
lines changed

src/angular.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@
8484
}
8585
},
8686
"test": {
87-
"builder": "@angular/build:karma",
87+
"builder": "@angular-devkit/build-angular:karma",
8888
"options": {
8989
"polyfills": [
9090
"zone.js",
@@ -101,7 +101,7 @@
101101
"src/styles.scss"
102102
],
103103
"scripts": [],
104-
"karmaConfig": "karma.conf.js"
104+
"karmaConfig": "karma.conf.prod.js"
105105
}
106106
},
107107
"lint": {

0 commit comments

Comments
 (0)