From 83b06593c5f4ed7904909216c1c6bf6d40868b93 Mon Sep 17 00:00:00 2001 From: Brandon Smyth Date: Sun, 28 Sep 2014 23:05:42 -0700 Subject: [PATCH] Update karma-webpack depency to fix confusing error Using karma-webpack-plugin 1.0.0 led to the following error from grunt test immediately after generating. I found the following fix in karma-webpack that had not been included in karma-webpack-plugin because it has since become karma-webpack. error: INFO [PhantomJS 1.9.7 (Mac OS X)]: Connected on socket 33J3dAUsvdMT6Io38nxm with id 51124214 PhantomJS 1.9.7 (Mac OS X) ERROR TEST RUN WAS CANCELLED because this file contains some errors: /.../eventlist/test/spec/components/EventlistApp.js fix: https://github.com/webpack/karma-webpack/commit/ad3be8452f4debd954256cffcb9ffd84f2b838d6 --- templates/common/_package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/common/_package.json b/templates/common/_package.json index 7b1b70f..587c1fa 100644 --- a/templates/common/_package.json +++ b/templates/common/_package.json @@ -30,7 +30,7 @@ "karma-phantomjs-launcher": "~0.1.3", "karma": "~0.12.21", "grunt-karma": "~0.8.3", - "karma-webpack-plugin": "~1.0.0", + "karma-webpack": "~1.2.2", "webpack-dev-server": "~1.6.5", "grunt-open": "~0.2.3", "jshint-loader": "~0.8.0",