diff options
author | dotnetCarpenter <jon.ronnenberg@gmail.com> | 2018-11-11 17:53:44 +0100 |
---|---|---|
committer | dotnetCarpenter <jon.ronnenberg@gmail.com> | 2018-11-11 17:53:44 +0100 |
commit | 0f1320e3e63a18f296b6f900c4894120c26ea779 (patch) | |
tree | a625127c289e5946bf6d993c16303780fc25a67f /.config/karma.conf.js | |
parent | f2513baf3c9262190ee2c92fb98b2dd099bfbab2 (diff) | |
download | svg.js-0f1320e3e63a18f296b6f900c4894120c26ea779.tar.gz svg.js-0f1320e3e63a18f296b6f900c4894120c26ea779.zip |
cleanup and use chromium on linux
Diffstat (limited to '.config/karma.conf.js')
-rw-r--r-- | .config/karma.conf.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/.config/karma.conf.js b/.config/karma.conf.js index 7421808..8e534d7 100644 --- a/.config/karma.conf.js +++ b/.config/karma.conf.js @@ -88,11 +88,11 @@ module.exports = function(config) { // start these browsers // available browser launchers: https://npmjs.org/browse/keyword/karma-launcher - browsers: ['ChromeHeadless', 'FirefoxHeadless'], + browsers: [process.platform === 'linux' ? 'ChromiumHeadless' : 'ChromeHeadless', 'FirefoxHeadless'], // Continuous Integration mode // if true, Karma captures browsers, runs the tests and exits - singleRun: false, + singleRun: true, // Concurrency level // how many browser should be started simultaneous |