Use headless chrome for karma specs instead of PhantomJS

PhantomJS is no longer being maintained
This commit is contained in:
Rob Harrington
2018-05-31 14:36:44 +10:00
committed by luisramos0
parent d2325fc7dd
commit 6608655e9a
2 changed files with 2 additions and 3 deletions

View File

@@ -43,7 +43,7 @@ module.exports = function(config) {
autoWatch: true,
browsers: ['PhantomJS'],
browsers: ['ChromeHeadless'],
junitReporter: {
outputFile: 'log/testacular-unit.xml',

View File

@@ -6,11 +6,10 @@
"url": "https://github.com/openfoodfoundation/openfoodnetwork"
},
"devDependencies": {
"phantomjs-prebuilt": "~2.1.7",
"karma": "~0.13.22",
"karma-chrome-launcher": "~2.2.0",
"karma-jasmine": "~0.3.8",
"jasmine-core": "~2.4.1",
"karma-phantomjs-launcher": "~1.0.0",
"karma-coffee-preprocessor": "~0.3.0"
},
"license": "AGPL-1.0"