The JavaScript Database, for Node.js, nw.js, electron and the browser
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
nedb/karma.conf.local.cjs

23 lines
534 B

'use strict'
10 months ago
const template = require('./karma.conf.template.cjs')
10 months ago
module.exports = function (config) {
const localBrowser = {
ChromeHeadlessNoSandbox: {
base: 'ChromeHeadless',
flags: ['--no-sandbox']
}
}
config.set(Object.assign({}, template(config), {
customLaunchers: localBrowser,
browsers: ['ChromeHeadlessNoSandbox']
// browsers: ['FirefoxHeadless'],
// browsers: ['Safari'],
// browsers: ['ChromeHeadlessNoSandbox', 'FirefoxHeadless', 'Safari'],
// concurrency: 3
}))
}