Skip to content

Commit

Permalink
Added override to enable using Jasmine 5.
Browse files Browse the repository at this point in the history
Since Karma is deprecated, there's not going to be an update for karma-jasmine. An override is the only way to upgrade until the migration to the Jasmine web runner (which - according to the deprecation annoncement - possibly requires an Angular update).
Workaround from karma-runner/karma-jasmine#333.
  • Loading branch information
shirblc committed Feb 4, 2024
1 parent f3c3bbe commit 9fba44a
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 7 deletions.
15 changes: 8 additions & 7 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,11 @@
"config": "node env-config.js",
"start": "node server.js"
},
"overrides": {
"karma-jasmine": {
"jasmine-core": "^4.1.0 || ^5.0.0"
}
},
"author": "Shir Bar Lev",
"license": "ISC",
"devDependencies": {
Expand All @@ -32,6 +37,7 @@
"gulp-rename": "^2.0.0",
"gulp-replace": "^1.1.4",
"gulp-terser": "^2.1.0",
"jasmine-core": "^5.1.1",
"jasmine-spec-reporter": "^7.0.0",
"karma": "^6.4.2",
"karma-chrome-launcher": "^3.2.0",
Expand Down

0 comments on commit 9fba44a

Please sign in to comment.