mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-23 09:52:26 +01:00
clean up test
This commit is contained in:
parent
db982cf795
commit
e23c0f98fa
@ -1,4 +1,3 @@
|
||||
const EventEmitter = require('events')
|
||||
const assert = require('assert')
|
||||
const NetworkController = require('../../app/scripts/controllers/network')
|
||||
|
||||
@ -12,7 +11,7 @@ describe('# Network Controller', function () {
|
||||
},
|
||||
})
|
||||
// stub out provider
|
||||
networkController._provider = new Proxy(new EventEmitter(), {
|
||||
networkController._provider = new Proxy({}, {
|
||||
get: (obj, name) => {
|
||||
return () => {}
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user