Skip to content

Commit

Permalink
stylistic change
Browse files Browse the repository at this point in the history
  • Loading branch information
zloirock committed Oct 23, 2022
1 parent e583927 commit 4604f5b
Showing 1 changed file with 17 additions and 19 deletions.
36 changes: 17 additions & 19 deletions karma.conf.js
Expand Up @@ -7,22 +7,20 @@ Object.assign(process.env, {
WEBKIT_BIN: webkit.executablePath(),
});

module.exports = function (config) {
config.set({
plugins: [
'karma-*',
'@onslip/karma-playwright-launcher',
],
files: process.argv.find(it => it.startsWith('-f=')).slice(3).split(','),
frameworks: ['qunit'],
basePath: '.',
browsers: [
'ChromiumHeadless',
'FirefoxHeadless',
'WebKitHeadless',
'PhantomJS',
],
logLevel: config.LOG_ERROR,
singleRun: true,
});
};
module.exports = config => config.set({
plugins: [
'karma-*',
'@onslip/karma-playwright-launcher',
],
files: process.argv.find(it => it.startsWith('-f=')).slice(3).split(','),
frameworks: ['qunit'],
basePath: '.',
browsers: [
'ChromiumHeadless',
'FirefoxHeadless',
'WebKitHeadless',
'PhantomJS',
],
logLevel: config.LOG_ERROR,
singleRun: true,
});

0 comments on commit 4604f5b

Please sign in to comment.