Skip to content

Commit 49f519a

Browse files
committed
switched to karma-sinon-chai
1 parent f362dd4 commit 49f519a

File tree

3 files changed

+21
-25
lines changed

3 files changed

+21
-25
lines changed

karma.conf.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ module.exports = function (config) {
77

88
// frameworks to use
99
// available frameworks: https://npmjs.org/browse/keyword/karma-adapter
10-
frameworks: ['mocha', 'chai-sinon'],
10+
frameworks: ['mocha', 'sinon-chai'],
1111

1212
// list of files / patterns to load in the browser
1313
// not sure why tests are failing when files are loaded in bulk

package-lock.json

+19-23
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,14 +26,14 @@
2626
"http-server": "^14.1.0",
2727
"husky": "^1.1.1",
2828
"karma": "^6.3.18",
29-
"karma-chai-sinon": "^0.1.5",
3029
"karma-chrome-launcher": "^3.1.1",
3130
"karma-coverage": "^2.2.0",
3231
"karma-edgium-launcher": "github:matracey/karma-edgium-launcher",
3332
"karma-firefox-launcher": "^2.1.2",
3433
"karma-mocha": "^2.0.1",
3534
"karma-mocha-reporter": "^2.2.5",
3635
"karma-safari-launcher": "~1.0.0",
36+
"karma-sinon-chai": "^2.0.2",
3737
"karma-sourcemap-loader": "^0.3.8",
3838
"leaflet": "^1.6.0",
3939
"mkdirp": "^1.0.4",

0 commit comments

Comments
 (0)