From 83c8bcf4858d8bbaba15becdb026996df2e64a8c Mon Sep 17 00:00:00 2001 From: Jason Holland Date: Mon, 5 Feb 2018 12:22:44 -0600 Subject: [PATCH] fix(dependencies): add jest-matchers for karma tests using webpack --- .../new/buildsystems/webpack/unit-test-runners/karma.js | 3 ++- lib/dependencies.json | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/lib/commands/new/buildsystems/webpack/unit-test-runners/karma.js b/lib/commands/new/buildsystems/webpack/unit-test-runners/karma.js index 3a90361b3..d8e627f34 100644 --- a/lib/commands/new/buildsystems/webpack/unit-test-runners/karma.js +++ b/lib/commands/new/buildsystems/webpack/unit-test-runners/karma.js @@ -25,7 +25,8 @@ module.exports = function(project) { 'karma-mocha-reporter', 'karma-webpack', 'karma-coverage-istanbul-reporter', - 'jest-jasmine2' + 'jest-jasmine2', + 'jest-matchers' ); if (project.model.transpiler.id === 'babel') { diff --git a/lib/dependencies.json b/lib/dependencies.json index 203e89c27..a73c166ba 100644 --- a/lib/dependencies.json +++ b/lib/dependencies.json @@ -69,6 +69,7 @@ "jest": "20.0.4", "jest-jasmine2": "21.2.1", "jest-cli": "20.0.4", + "jest-matchers": "^20.0.3", "json-loader": "0.5.7", "html-loader": "0.4.5", "karma": "^0.13.22", @@ -103,4 +104,4 @@ "webpack": "3.5.5", "webpack-dev-server": "2.7.1", "webpack-hot-middleware": "^2.18.2" -} \ No newline at end of file +}