aboutsummaryrefslogtreecommitdiffstats
path: root/test/helper.js
blob: 64fe5bd072ba5f6b95eaf6f2b52efc5e1021e53a (plain) (blame)
1
2
3
4
5
require('jsdom-global')()
window.localStorage = {}

if (!('crypto' in window)) { window.crypto = {} }
window.crypto.getRandomValues = require('polyfill-crypto.getrandomvalues')