-
Notifications
You must be signed in to change notification settings - Fork 99
/
testem.js
30 lines (30 loc) · 957 Bytes
/
testem.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
module.exports = {
test_page: 'tests/index.html?hidepassed',
disable_watching: true,
reporter: 'xunit',
report_file: 'ember-tests.xml',
xunit_exclude_stack: true, // we *probably* want this on to keep the xunit file clean
xunit_intermediate_output: true,
launch_in_ci: ['Chrome', 'Firefox'],
launch_in_dev: ['Chrome'],
browser_start_timeout: 60000,
browser_args: {
Firefox: { ci: ['-headless', '--window-size=1440,900'] },
Chrome: {
mode: 'ci',
// prettier-disable -- args are useful to have in a sane order
args: [
'--disable-gpu',
'--headless',
'--remote-debugging-port=0',
'--window-size=1440,900',
].concat(
/*
--no-sandbox is needed when running Chrome inside a container.
See https://github.com/ember-cli/ember-cli-chai/pull/45/files.
*/
(process.env.TRAVIS || process.env.CI) ? '--no-sandbox' : []
),
},
},
};