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 b324ab0 commit abb435e
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 @@
"build": "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 @@ -33,6 +38,7 @@
"gulp-replace": "^1.1.4",
"gulp-sass": "^5.1.0",
"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 abb435e

Please sign in to comment.