2016-11-14 14:16:51 +01:00
|
|
|
/* eslint-env node */
|
2017-07-31 11:38:46 +02:00
|
|
|
/* eslint-disable camelcase */
|
2016-03-01 08:38:03 +01:00
|
|
|
module.exports = {
|
2017-07-31 11:38:46 +02:00
|
|
|
framework: 'mocha',
|
|
|
|
test_page: 'tests/index.html?hidepassed',
|
|
|
|
disable_watching: true,
|
|
|
|
launch_in_ci: [
|
2016-03-01 08:38:03 +01:00
|
|
|
'Chrome',
|
|
|
|
'Firefox'
|
|
|
|
],
|
2017-07-31 11:38:46 +02:00
|
|
|
launch_in_dev: [
|
2016-03-01 08:38:03 +01:00
|
|
|
'Chrome',
|
|
|
|
'Firefox'
|
2017-09-02 11:19:07 +02:00
|
|
|
],
|
|
|
|
browser_args: {
|
2017-10-12 17:42:10 +02:00
|
|
|
Chrome: {
|
2017-09-02 11:19:07 +02:00
|
|
|
mode: 'ci',
|
|
|
|
args: [
|
2018-02-28 18:31:43 +01:00
|
|
|
// --no-sandbox is needed when running Chrome inside a container
|
|
|
|
process.env.TRAVIS ? '--no-sandbox' : null,
|
|
|
|
|
2017-09-02 11:19:07 +02:00
|
|
|
'--disable-gpu',
|
|
|
|
'--headless',
|
2017-12-13 13:27:15 +01:00
|
|
|
'--remote-debugging-port=0',
|
2017-09-02 11:19:07 +02:00
|
|
|
'--window-size=1440,900'
|
2018-02-28 18:31:43 +01:00
|
|
|
].filter(Boolean)
|
2017-09-02 11:19:07 +02:00
|
|
|
}
|
|
|
|
}
|
2016-03-01 08:38:03 +01:00
|
|
|
};
|