Skip to content

Commit e310bbf

Browse files
committed
Migrate from Karma/Jasmine to vitest
vitest is the default in new Angular projects and will likely become more preferred in the future.
1 parent f9176ca commit e310bbf

File tree

5 files changed

+871
-1534
lines changed

5 files changed

+871
-1534
lines changed

angular.json

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -116,15 +116,7 @@
116116
}
117117
},
118118
"test": {
119-
"builder": "@angular/build:karma",
120-
"options": {
121-
"polyfills": ["zone.js", "zone.js/testing"],
122-
"tsConfig": "tsconfig.spec.json",
123-
"inlineStyleLanguage": "scss",
124-
"assets": ["src/favicon.ico", "src/assets"],
125-
"styles": ["src/styles.scss"],
126-
"scripts": []
127-
}
119+
"builder": "@angular/build:unit-test"
128120
},
129121
"lint": {
130122
"builder": "@angular-eslint/builder:lint",

0 commit comments

Comments
 (0)