Skip to content
This repository has been archived by the owner on Feb 6, 2021. It is now read-only.

Commit

Permalink
Merge pull request #103 from Turbo87/chrome
Browse files Browse the repository at this point in the history
Use headless Chrome for testing
  • Loading branch information
pangratz committed Mar 22, 2018
2 parents 19a5f95 + 20b0c7c commit 9a931d1
Showing 1 changed file with 21 additions and 9 deletions.
30 changes: 21 additions & 9 deletions testem.js
@@ -1,13 +1,25 @@
/*jshint node:true*/
module.exports = {
"framework": "qunit",
"test_page": "tests/index.html?hidepassed",
"disable_watching": true,
"launch_in_ci": [
"PhantomJS"
test_page: 'tests/index.html?hidepassed',
disable_watching: true,
launch_in_ci: [
'Chrome'
],
"launch_in_dev": [
"PhantomJS",
"Chrome"
]
launch_in_dev: [
'Chrome'
],
browser_args: {
Chrome: {
mode: 'ci',
args: [
// --no-sandbox is needed when running Chrome inside a container
process.env.TRAVIS ? '--no-sandbox' : null,

'--disable-gpu',
'--headless',
'--remote-debugging-port=0',
'--window-size=1440,900'
].filter(Boolean)
}
}
};

0 comments on commit 9a931d1

Please sign in to comment.