diff --git a/config/karma.config.js b/config/karma.config.js index f02dd1e3..6734f4b2 100644 --- a/config/karma.config.js +++ b/config/karma.config.js @@ -50,11 +50,12 @@ module.exports.getBaseKarmaConfig = function (opts = { ignoreBower: false }) { // frameworks to use // available frameworks: https://npmjs.org/browse/keyword/karma-adapter - frameworks: ['mocha', 'sinon'], + frameworks: ['mocha', 'sinon', 'proclaim'], plugins: [ 'karma-mocha', 'karma-sinon', + 'karma-proclaim', 'karma-webpack', 'karma-browserstack-launcher', 'karma-chrome-launcher', diff --git a/package-lock.json b/package-lock.json index dc8d2d10..ec753e0c 100644 --- a/package-lock.json +++ b/package-lock.json @@ -7143,6 +7143,13 @@ } } }, + "karma-proclaim": { + "version": "git+https://github.com/Financial-Times/karma-proclaim.git#e346e1f4f0519caa0cbcb34660a7a65a876b05ac", + "from": "git+https://github.com/Financial-Times/karma-proclaim.git", + "requires": { + "proclaim": "^3.6.0" + } + }, "karma-scss-preprocessor": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/karma-scss-preprocessor/-/karma-scss-preprocessor-3.0.0.tgz", diff --git a/package.json b/package.json index ba4982c1..14e4fc42 100644 --- a/package.json +++ b/package.json @@ -48,6 +48,7 @@ "karma-browserstack-launcher": "^1.5.1", "karma-chrome-launcher": "^2.2.0", "karma-mocha": "^1.3.0", + "karma-proclaim": "git+https://github.com/Financial-Times/karma-proclaim.git", "karma-scss-preprocessor": "^3.0.0", "karma-sinon": "^1.0.5", "karma-sourcemap-loader": "^0.3.7",