1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-10-22 19:26:13 +02: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()
}