diff options
author | Dan Finlay <dan@danfinlay.com> | 2017-02-21 15:42:40 +0800 |
---|---|---|
committer | Dan Finlay <dan@danfinlay.com> | 2017-02-21 15:42:40 +0800 |
commit | 2baedc56eafcc0e26fdaab1706953dc2d949570d (patch) | |
tree | ffa6e494f612a7adc2990c0a275152a92da5ef3c | |
parent | 05080d1c50edda0ab59fa9127fa471173d850dc7 (diff) | |
download | tangerine-wallet-browser-2baedc56eafcc0e26fdaab1706953dc2d949570d.tar tangerine-wallet-browser-2baedc56eafcc0e26fdaab1706953dc2d949570d.tar.gz tangerine-wallet-browser-2baedc56eafcc0e26fdaab1706953dc2d949570d.tar.bz2 tangerine-wallet-browser-2baedc56eafcc0e26fdaab1706953dc2d949570d.tar.lz tangerine-wallet-browser-2baedc56eafcc0e26fdaab1706953dc2d949570d.tar.xz tangerine-wallet-browser-2baedc56eafcc0e26fdaab1706953dc2d949570d.tar.zst tangerine-wallet-browser-2baedc56eafcc0e26fdaab1706953dc2d949570d.zip |
Add log global to test suite
-rw-r--r-- | test/helper.js | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/test/helper.js b/test/helper.js index 64fe5bd07..a01ea1e53 100644 --- a/test/helper.js +++ b/test/helper.js @@ -1,5 +1,11 @@ +var log = require('loglevel') +log.setDefaultLevel(5) + require('jsdom-global')() window.localStorage = {} if (!('crypto' in window)) { window.crypto = {} } window.crypto.getRandomValues = require('polyfill-crypto.getrandomvalues') + +window.log = log +global.log = log |