diff options
Diffstat (limited to 'javascript/testem.js')
-rw-r--r-- | javascript/testem.js | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/javascript/testem.js b/javascript/testem.js new file mode 100644 index 0000000..d7710c2 --- /dev/null +++ b/javascript/testem.js @@ -0,0 +1,24 @@ +/* eslint-env node */ +module.exports = { + test_page: 'tests/index.html?hidepassed', + disable_watching: true, + launch_in_ci: [ + '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) + } + } +}; |