Skip to content
This repository has been archived by the owner on Mar 14, 2022. It is now read-only.

Commit

Permalink
use karma-proclaim to make proclaim a global variable used in tests i…
Browse files Browse the repository at this point in the history
  • Loading branch information
JakeChampion committed Apr 1, 2020
1 parent 57762b5 commit a6ee072
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 1 deletion.
3 changes: 2 additions & 1 deletion config/karma.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down
7 changes: 7 additions & 0 deletions package-lock.json

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

1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit a6ee072

Please sign in to comment.