mirror of https://github.com/seald/nedb
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.
23 lines
589 B
23 lines
589 B
'use strict'
|
|
/* eslint-disable @typescript-eslint/no-var-requires */
|
|
|
|
const template = require('./karma.conf.template.js')
|
|
|
|
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
|
|
}))
|
|
}
|
|
|