1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-11-22 18:00:18 +01:00
metamask-extension/test/setup.js
2020-02-15 17:04:21 -03:30

15 lines
387 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()
}