aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/unit/network-contoller-test.js6
1 files changed, 5 insertions, 1 deletions
diff --git a/test/unit/network-contoller-test.js b/test/unit/network-contoller-test.js
index 183e69cab..46f473af2 100644
--- a/test/unit/network-contoller-test.js
+++ b/test/unit/network-contoller-test.js
@@ -12,7 +12,11 @@ describe('# Network Controller', function () {
},
})
// stub out provider
- networkController._provider = new EventEmitter()
+ networkController._provider = new Proxy(new EventEmitter(), {
+ get: (obj, name) => {
+ return () => {}
+ },
+ })
networkController.providerInit = {
getAccounts: () => {},
}