mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-23 09:52:26 +01:00
test - unit - move fetch polyfill to helper
This commit is contained in:
parent
380964a687
commit
630e2300f4
@ -14,6 +14,9 @@ global.log = log
|
||||
// polyfills
|
||||
//
|
||||
|
||||
// fetch
|
||||
global.fetch = require('isomorphic-fetch')
|
||||
|
||||
// dom
|
||||
require('jsdom-global')()
|
||||
|
||||
|
@ -1,6 +1,3 @@
|
||||
// polyfill fetch
|
||||
global.fetch = global.fetch || require('isomorphic-fetch')
|
||||
|
||||
const assert = require('assert')
|
||||
const nock = require('nock')
|
||||
const CurrencyController = require('../../../../app/scripts/controllers/currency')
|
||||
|
@ -1,6 +1,3 @@
|
||||
// polyfill fetch
|
||||
global.fetch = global.fetch || require('isomorphic-fetch')
|
||||
|
||||
const assert = require('assert')
|
||||
const configManagerGen = require('../lib/mock-config-manager')
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user