aboutsummaryrefslogtreecommitdiffstats
path: root/mascara/test/test-ui.js
diff options
context:
space:
mode:
authorFrankie <frankie.diamond@gmail.com>2017-09-19 03:54:39 +0800
committerGitHub <noreply@github.com>2017-09-19 03:54:39 +0800
commitbbae8d975e1800b37b05b35713728cd39f992071 (patch)
tree4bafb3f651894dd62741daa114d9820ff4a12843 /mascara/test/test-ui.js
parentc9ac8f09199ecbe37982b1ba1470c8aa03a139a0 (diff)
parent784510f89fcb460bcf77ba477fe9a7c144c25f63 (diff)
downloadtangerine-wallet-browser-bbae8d975e1800b37b05b35713728cd39f992071.tar
tangerine-wallet-browser-bbae8d975e1800b37b05b35713728cd39f992071.tar.gz
tangerine-wallet-browser-bbae8d975e1800b37b05b35713728cd39f992071.tar.bz2
tangerine-wallet-browser-bbae8d975e1800b37b05b35713728cd39f992071.tar.lz
tangerine-wallet-browser-bbae8d975e1800b37b05b35713728cd39f992071.tar.xz
tangerine-wallet-browser-bbae8d975e1800b37b05b35713728cd39f992071.tar.zst
tangerine-wallet-browser-bbae8d975e1800b37b05b35713728cd39f992071.zip
Merge pull request #2098 from MetaMask/mascara-tests
Integration test suite improvements
Diffstat (limited to 'mascara/test/test-ui.js')
-rw-r--r--mascara/test/test-ui.js12
1 files changed, 12 insertions, 0 deletions
diff --git a/mascara/test/test-ui.js b/mascara/test/test-ui.js
new file mode 100644
index 000000000..b9bc42dff
--- /dev/null
+++ b/mascara/test/test-ui.js
@@ -0,0 +1,12 @@
+const Helper = require('./util/mascara-test-helper.js')
+
+window.addEventListener('load', () => {
+ window.METAMASK_SKIP_RELOAD = true
+ // inject app container
+ const body = document.body
+ const container = document.createElement('div')
+ container.id = 'app-content'
+ body.appendChild(container)
+ // start ui
+ require('../src/ui.js')
+})