Skip to content

Commit ff92b42

Browse files
committed
chore: switch from Karma & Jasmine to Jest
1 parent 50042e8 commit ff92b42

18 files changed

+7454
-3226
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ npm-debug.log
4141
yarn-error.log
4242
testem.log
4343
/typings
44+
.cache
4445

4546
# System Files
4647
.DS_Store

angular.json

Lines changed: 2 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -25,12 +25,7 @@
2525
"defaultConfiguration": "production"
2626
},
2727
"test": {
28-
"builder": "@angular-devkit/build-angular:karma",
29-
"options": {
30-
"main": "projects/elements/test.ts",
31-
"tsConfig": "projects/elements/tsconfig.spec.json",
32-
"karmaConfig": "projects/elements/karma.conf.js"
33-
}
28+
"builder": "@angular-builders/jest:run"
3429
},
3530
"lint": {
3631
"builder": "@angular-eslint/builder:lint",
@@ -121,20 +116,7 @@
121116
}
122117
},
123118
"test": {
124-
"builder": "@angular-devkit/build-angular:karma",
125-
"options": {
126-
"main": "projects/elements-demo/src/test.ts",
127-
"polyfills": "projects/elements-demo/src/polyfills.ts",
128-
"tsConfig": "projects/elements-demo/tsconfig.spec.json",
129-
"karmaConfig": "projects/elements-demo/karma.conf.js",
130-
"assets": [
131-
"projects/elements-demo/src/favicon.ico",
132-
"projects/elements-demo/src/assets",
133-
"projects/elements-demo/src/manifest.webmanifest"
134-
],
135-
"styles": ["projects/elements-demo/src/styles.scss"],
136-
"scripts": []
137-
}
119+
"builder": "@angular-builders/jest:run"
138120
},
139121
"lint": {
140122
"builder": "@angular-eslint/builder:lint",

0 commit comments

Comments
 (0)