Skip to content

Commit 33defff

Browse files
committed
Update test runner
1 parent 2a8e74d commit 33defff

File tree

5 files changed

+539
-481
lines changed

5 files changed

+539
-481
lines changed

angular.json

Lines changed: 7 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -18,12 +18,11 @@
1818
"prefix": "app",
1919
"architect": {
2020
"build": {
21-
"builder": "@angular-devkit/build-angular:application",
21+
"builder": "@angular/build:application",
2222
"options": {
2323
"outputPath": "dist",
2424
"index": "src/index.html",
2525
"browser": "src/main.ts",
26-
"polyfills": ["zone.js"],
2726
"tsConfig": "tsconfig.app.json",
2827
"assets": ["src/favicon.ico", "src/assets"],
2928
"styles": ["src/styles.scss"],
@@ -42,7 +41,7 @@
4241
"defaultConfiguration": "production"
4342
},
4443
"serve": {
45-
"builder": "@angular-devkit/build-angular:dev-server",
44+
"builder": "@angular/build:dev-server",
4645
"options": {
4746
"buildTarget": "ngx-toastr:build"
4847
},
@@ -53,20 +52,18 @@
5352
}
5453
},
5554
"extract-i18n": {
56-
"builder": "@angular-devkit/build-angular:extract-i18n",
55+
"builder": "@angular/build:extract-i18n",
5756
"options": {
5857
"buildTarget": "ngx-toastr:build"
5958
}
6059
},
6160
"test": {
62-
"builder": "@angular-devkit/build-angular:karma",
61+
"builder": "@angular/build:unit-test",
6362
"options": {
64-
"polyfills": ["zone.js", "zone.js/testing"],
6563
"tsConfig": "tsconfig.spec.json",
66-
"karmaConfig": "karma.conf.js",
67-
"assets": ["src/favicon.ico", "src/assets"],
68-
"styles": ["src/styles.scss"],
69-
"scripts": []
64+
"runner": "karma",
65+
"coverage": true,
66+
"ui": false
7067
}
7168
},
7269
"lint": {

0 commit comments

Comments
 (0)