diff options
Diffstat (limited to 'test/unit/karma.conf.js')
| -rw-r--r-- | test/unit/karma.conf.js | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/test/unit/karma.conf.js b/test/unit/karma.conf.js index 8b4145e2..8465523a 100644 --- a/test/unit/karma.conf.js +++ b/test/unit/karma.conf.js @@ -53,11 +53,18 @@ module.exports = function (config) { // 1. install corresponding karma launcher // http://karma-runner.github.io/0.13/config/browsers.html // 2. add it to the `browsers` array below. - browsers: ['PhantomJS'], + browsers: ['FirefoxHeadless'], frameworks: ['mocha', 'sinon-chai'], reporters: ['mocha'], + customLaunchers: { + 'FirefoxHeadless': { + base: 'Firefox', + flags: [ + '-headless', + ] + } + }, files: [ - '../../node_modules/@babel/polyfill/dist/polyfill.js', './index.js' ], preprocessors: { |
