aboutsummaryrefslogtreecommitdiffstats
path: root/test/helper.js
diff options
context:
space:
mode:
authorDan Finlay <dan@danfinlay.com>2016-04-20 04:03:00 +0800
committerDan Finlay <dan@danfinlay.com>2016-04-20 04:03:00 +0800
commit8fe113e8d93a413c94d315ffeded01d2445b37dd (patch)
tree770e3f1d29cf7c539483534b54b7696d5b678215 /test/helper.js
parentb953dc9ae133a83ab37ba664246693e470ee2ed0 (diff)
parentdba41614d014413b6de72a2cb62466765706304d (diff)
downloadtangerine-wallet-browser-8fe113e8d93a413c94d315ffeded01d2445b37dd.tar
tangerine-wallet-browser-8fe113e8d93a413c94d315ffeded01d2445b37dd.tar.gz
tangerine-wallet-browser-8fe113e8d93a413c94d315ffeded01d2445b37dd.tar.bz2
tangerine-wallet-browser-8fe113e8d93a413c94d315ffeded01d2445b37dd.tar.lz
tangerine-wallet-browser-8fe113e8d93a413c94d315ffeded01d2445b37dd.tar.xz
tangerine-wallet-browser-8fe113e8d93a413c94d315ffeded01d2445b37dd.tar.zst
tangerine-wallet-browser-8fe113e8d93a413c94d315ffeded01d2445b37dd.zip
Merge branch 'master' into TransactionList
Diffstat (limited to 'test/helper.js')
-rw-r--r--test/helper.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/helper.js b/test/helper.js
index 4c7f8b4c6..64fe5bd07 100644
--- a/test/helper.js
+++ b/test/helper.js
@@ -1,2 +1,5 @@
require('jsdom-global')()
window.localStorage = {}
+
+if (!('crypto' in window)) { window.crypto = {} }
+window.crypto.getRandomValues = require('polyfill-crypto.getrandomvalues')