aboutsummaryrefslogtreecommitdiff
path: root/javascript/testem.js
diff options
context:
space:
mode:
authoralexwl <alexey.a.kiryushin@gmail.com>2018-10-02 13:17:04 +0300
committeralexwl <alexey.a.kiryushin@gmail.com>2018-10-02 13:17:04 +0300
commitcf2c56c7061b7ed40fdd3b40a352ddb9c9b7371f (patch)
treeb1de9ada0f1b1cb064e3a9e0d4042d1f519085bd /javascript/testem.js
Initial commit
Diffstat (limited to 'javascript/testem.js')
-rw-r--r--javascript/testem.js24
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)
+ }
+ }
+};