mirror of
https://github.com/josdejong/mathjs.git
synced 2026-01-18 14:59:29 +00:00
18 lines
364 B
JavaScript
18 lines
364 B
JavaScript
const baseKarma = require('./base-karma')
|
|
const mochaConfig = require('../../.mocharc.json')
|
|
|
|
module.exports = function (config) {
|
|
const baseConfig = baseKarma(config)
|
|
|
|
config.set(Object.assign(baseConfig, {
|
|
browsers: ['FirefoxHeadless'],
|
|
|
|
client: {
|
|
captureConsole: true,
|
|
mocha: {
|
|
timeout: mochaConfig.timeout
|
|
}
|
|
}
|
|
}))
|
|
}
|