Updated Karma and PhantomJS to fix npm run test
Change-Id: I24dd34c20a47f2a7462565ef7ec381f847f60130
diff --git a/web/gui/src/main/webapp/tests/karma.conf.js b/web/gui/src/main/webapp/tests/karma.conf.js
index e77f903..265e325 100644
--- a/web/gui/src/main/webapp/tests/karma.conf.js
+++ b/web/gui/src/main/webapp/tests/karma.conf.js
@@ -49,6 +49,7 @@
// list of files to exclude
exclude: [
+ '../app/view/topo2/node_modules/**/*'
],
diff --git a/web/gui/src/main/webapp/tests/package.json b/web/gui/src/main/webapp/tests/package.json
index b6d2f00..4d298bb 100644
--- a/web/gui/src/main/webapp/tests/package.json
+++ b/web/gui/src/main/webapp/tests/package.json
@@ -16,10 +16,14 @@
"devDependencies": {
"jasmine-core": "^2.4.1",
"karma": "^0.13.22",
- "karma-jasmine": "^0.3.8",
- "karma-mocha-reporter": "^1.1.3",
+ "karma-babel-preprocessor": "^6.0.1",
"karma-chrome-launcher": "^0.2.3",
+ "karma-coverage": "^0.5.5",
+ "karma-jasmine": "^0.3.6",
+ "karma-junit-reporter": "^0.4.2",
+ "karma-mocha-reporter": "^1.1.3",
+ "karma-ng-html2js-preprocessor": "^0.2.0",
"karma-phantomjs-launcher": "^0.2.1",
- "phantomjs": "^1.9.19"
+ "phantomjs": "^2.1.3"
}
}