aboutsummaryrefslogtreecommitdiffstats
path: root/test/mascara.conf.js
diff options
context:
space:
mode:
authorChi Kei Chan <chikeichan@gmail.com>2017-09-19 09:13:15 +0800
committerGitHub <noreply@github.com>2017-09-19 09:13:15 +0800
commita67d3ecd46ac2b9932d1a4181bb76631b27629c2 (patch)
treed96b262074f506a1a7a48975dbf85e1374207851 /test/mascara.conf.js
parent190330db921d5549a3e4363308545fb702e0089c (diff)
parent7094d965291fa19f96145d122cb9f0f76da053c0 (diff)
downloadtangerine-wallet-browser-a67d3ecd46ac2b9932d1a4181bb76631b27629c2.tar
tangerine-wallet-browser-a67d3ecd46ac2b9932d1a4181bb76631b27629c2.tar.gz
tangerine-wallet-browser-a67d3ecd46ac2b9932d1a4181bb76631b27629c2.tar.bz2
tangerine-wallet-browser-a67d3ecd46ac2b9932d1a4181bb76631b27629c2.tar.lz
tangerine-wallet-browser-a67d3ecd46ac2b9932d1a4181bb76631b27629c2.tar.xz
tangerine-wallet-browser-a67d3ecd46ac2b9932d1a4181bb76631b27629c2.tar.zst
tangerine-wallet-browser-a67d3ecd46ac2b9932d1a4181bb76631b27629c2.zip
Merge branch 'master' into NewUI-flat
Diffstat (limited to 'test/mascara.conf.js')
-rw-r--r--test/mascara.conf.js17
1 files changed, 17 insertions, 0 deletions
diff --git a/test/mascara.conf.js b/test/mascara.conf.js
new file mode 100644
index 000000000..97e53fc2b
--- /dev/null
+++ b/test/mascara.conf.js
@@ -0,0 +1,17 @@
+const getBaseConfig = require('./base.conf.js')
+
+module.exports = function(config) {
+ const settings = getBaseConfig(config)
+
+ // ui and tests
+ settings.files.push('dist/mascara/ui.js')
+ settings.files.push('dist/mascara/tests.js')
+ // service worker background
+ settings.files.push({ pattern: 'dist/mascara/background.js', watched: false, included: false, served: true }),
+ settings.proxies['/background.js'] = '/base/dist/mascara/background.js'
+
+ // use this to keep the browser open for debugging
+ settings.browserNoActivityTimeout = 10000000
+
+ config.set(settings)
+}