mirror of
https://github.com/piskelapp/piskel.git
synced 2023-08-10 21:12:52 +03:00
feat: add edge and firefox headless to karma config
This commit is contained in:
parent
67fd248613
commit
84801f4fcf
@ -3,6 +3,7 @@
|
||||
|
||||
const puppeteer = require('puppeteer');
|
||||
process.env.CHROME_BIN = puppeteer.executablePath();
|
||||
process.env.EDGE_BIN = puppeteer.executablePath();
|
||||
|
||||
module.exports = function(config) {
|
||||
|
||||
@ -67,10 +68,16 @@ module.exports = function(config) {
|
||||
|
||||
// start these browsers
|
||||
// available browser launchers: https://npmjs.org/browse/keyword/karma-launcher
|
||||
browsers: ['ChromeHeadless'],
|
||||
browsers: [
|
||||
'ChromeHeadless',
|
||||
'EdgeHeadless',
|
||||
'FirefoxHeadless',
|
||||
],
|
||||
|
||||
plugins: [
|
||||
'karma-chrome-launcher',
|
||||
'@chiragrupani/karma-chromium-edge-launcher',
|
||||
'karma-firefox-launcher',
|
||||
'karma-jasmine',
|
||||
],
|
||||
|
||||
|
@ -33,6 +33,7 @@
|
||||
"format": "grunt eslint --fix"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@chiragrupani/karma-chromium-edge-launcher": "^2.2.1",
|
||||
"@happikitsune/grunt-nw-builder": "3.5.10",
|
||||
"dateformat": "4.5.1",
|
||||
"fs-extra": "10.1.0",
|
||||
@ -56,6 +57,7 @@
|
||||
"jasmine-core": "4.1.0",
|
||||
"karma": "6.3.19",
|
||||
"karma-chrome-launcher": "3.1.1",
|
||||
"karma-firefox-launcher": "^2.1.2",
|
||||
"karma-jasmine": "5.0.0",
|
||||
"karma-phantomjs-launcher": "1.0.4",
|
||||
"load-grunt-tasks": "5.1.0",
|
||||
|
Loading…
Reference in New Issue
Block a user