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