1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-11-26 20:39:08 +01:00
metamask-extension/test/setup.js
2019-12-05 10:23:43 -10:00

11 lines
381 B
JavaScript

require('@babel/register')({
ignore: [name => name.includes('node_modules') && !name.includes('obs-store')],
})
require('./helper')
window.SVGPathElement = window.SVGPathElement || { prototype: {} }
window.fetch = window.fetch || function fetch () { return Promise.resolve() }
global.indexedDB = {}
global.fetch = global.fetch || function fetch () { return Promise.resolve() }