Skip to content

Commit 318385e

Browse files
Andrew AllenAndrew Allen
Andrew Allen
authored and
Andrew Allen
committed
in angular.json changed @angular-devkit/build-angular:karma to @angular-builders/jest:run
1 parent 17f964d commit 318385e

File tree

1 file changed

+8
-28
lines changed

1 file changed

+8
-28
lines changed

angular.json

+8-28
Original file line numberDiff line numberDiff line change
@@ -18,20 +18,15 @@
1818
"builder": "@angular-builders/custom-webpack:browser",
1919
"options": {
2020
"customWebpackConfig": {
21-
"path": "./extra-webpack.config.js"
21+
"path": "./extra-webpack.config.js"
2222
},
2323
"outputPath": "dist",
2424
"index": "src/index.html",
2525
"main": "src/main.ts",
2626
"polyfills": "src/polyfills.ts",
2727
"tsConfig": "src/tsconfig.app.json",
28-
"assets": [
29-
"src/favicon.ico",
30-
"src/assets"
31-
],
32-
"styles": [
33-
"src/styles.scss"
34-
],
28+
"assets": ["src/favicon.ico", "src/assets"],
29+
"styles": ["src/styles.scss"],
3530
"scripts": []
3631
},
3732
"configurations": {
@@ -86,20 +81,9 @@
8681
}
8782
},
8883
"test": {
89-
"builder": "@angular-devkit/build-angular:karma",
84+
"builder": "@angular-builders/jest:run",
9085
"options": {
91-
"main": "src/test.ts",
92-
"polyfills": "src/polyfills.ts",
93-
"tsConfig": "src/tsconfig.spec.json",
94-
"karmaConfig": "src/karma.conf.js",
95-
"styles": [
96-
"src/styles.scss"
97-
],
98-
"scripts": [],
99-
"assets": [
100-
"src/favicon.ico",
101-
"src/assets"
102-
]
86+
"configPath": "./jest.config.ts"
10387
}
10488
},
10589
"lint": {
@@ -109,9 +93,7 @@
10993
"src/tsconfig.app.json",
11094
"src/tsconfig.spec.json"
11195
],
112-
"exclude": [
113-
"**/node_modules/**"
114-
]
96+
"exclude": ["**/node_modules/**"]
11597
}
11698
}
11799
}
@@ -131,9 +113,7 @@
131113
"builder": "@angular-devkit/build-angular:tslint",
132114
"options": {
133115
"tsConfig": "e2e/tsconfig.e2e.json",
134-
"exclude": [
135-
"**/node_modules/**"
136-
]
116+
"exclude": ["**/node_modules/**"]
137117
}
138118
}
139119
}
@@ -149,4 +129,4 @@
149129
"prefix": "app"
150130
}
151131
}
152-
}
132+
}

0 commit comments

Comments
 (0)