diff --git a/karma.conf.js b/karma.conf.js index 555557c..bc1baee 100644 --- a/karma.conf.js +++ b/karma.conf.js @@ -35,12 +35,13 @@ module.exports = config => config.set({ frameworks: ["mocha", "chai", "sinon", "webpack"], plugins: [ - require("karma-webpack"), + require("karma-chai"), + require("karma-chrome-launcher"), require("karma-firefox-launcher"), require("karma-mocha"), - require("karma-chai"), require("karma-sinon"), - require("karma-spec-reporter") + require("karma-spec-reporter"), + require("karma-webpack") ], preprocessors: { diff --git a/package-lock.json b/package-lock.json index 3f1558c..5c45ea7 100644 --- a/package-lock.json +++ b/package-lock.json @@ -63,6 +63,7 @@ "jsx-control-statements": "^3.2.8", "karma": "^6.4.0", "karma-chai": "^0.1.0", + "karma-chrome-launcher": "^3.1.1", "karma-firefox-launcher": "^2.1.2", "karma-mocha": "^2.0.1", "karma-sinon": "^1.0.5", @@ -19525,6 +19526,27 @@ "karma": ">=0.10.9" } }, + "node_modules/karma-chrome-launcher": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/karma-chrome-launcher/-/karma-chrome-launcher-3.1.1.tgz", + "integrity": "sha512-hsIglcq1vtboGPAN+DGCISCFOxW+ZVnIqhDQcCMqqCp+4dmJ0Qpq5QAjkbA0X2L9Mi6OBkHi2Srrbmm7pUKkzQ==", + "dev": true, + "dependencies": { + "which": "^1.2.1" + } + }, + "node_modules/karma-chrome-launcher/node_modules/which": { + "version": "1.3.1", + "resolved": "https://registry.npmjs.org/which/-/which-1.3.1.tgz", + "integrity": "sha512-HxJdYWq1MTIQbJ3nw0cqssHoTNU267KlrDuGZ1WYlxDStUtKUhOaJmh112/TZmHxxUfuJqPXSOm7tDyas0OSIQ==", + "dev": true, + "dependencies": { + "isexe": "^2.0.0" + }, + "bin": { + "which": "bin/which" + } + }, "node_modules/karma-firefox-launcher": { "version": "2.1.2", "resolved": "https://registry.npmjs.org/karma-firefox-launcher/-/karma-firefox-launcher-2.1.2.tgz", @@ -42976,6 +42998,26 @@ "dev": true, "requires": {} }, + "karma-chrome-launcher": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/karma-chrome-launcher/-/karma-chrome-launcher-3.1.1.tgz", + "integrity": "sha512-hsIglcq1vtboGPAN+DGCISCFOxW+ZVnIqhDQcCMqqCp+4dmJ0Qpq5QAjkbA0X2L9Mi6OBkHi2Srrbmm7pUKkzQ==", + "dev": true, + "requires": { + "which": "^1.2.1" + }, + "dependencies": { + "which": { + "version": "1.3.1", + "resolved": "https://registry.npmjs.org/which/-/which-1.3.1.tgz", + "integrity": "sha512-HxJdYWq1MTIQbJ3nw0cqssHoTNU267KlrDuGZ1WYlxDStUtKUhOaJmh112/TZmHxxUfuJqPXSOm7tDyas0OSIQ==", + "dev": true, + "requires": { + "isexe": "^2.0.0" + } + } + } + }, "karma-firefox-launcher": { "version": "2.1.2", "resolved": "https://registry.npmjs.org/karma-firefox-launcher/-/karma-firefox-launcher-2.1.2.tgz", diff --git a/package.json b/package.json index 0f34d06..a65647e 100644 --- a/package.json +++ b/package.json @@ -72,6 +72,7 @@ "jsx-control-statements": "^3.2.8", "karma": "^6.4.0", "karma-chai": "^0.1.0", + "karma-chrome-launcher": "^3.1.1", "karma-firefox-launcher": "^2.1.2", "karma-mocha": "^2.0.1", "karma-sinon": "^1.0.5",