aboutsummaryrefslogtreecommitdiffstats
path: root/test/unit
diff options
context:
space:
mode:
authorfrankiebee <frankie.diamond@gmail.com>2017-05-24 23:57:31 +0800
committerfrankiebee <frankie.diamond@gmail.com>2017-05-24 23:57:31 +0800
commite23c0f98faef3282d684bba48a53a1f48425b52d (patch)
tree4a42a5261a823fdae501c8c34e1aa4e44f5f960c /test/unit
parentdb982cf795d30dd32b4722249daea9296430b5b9 (diff)
downloadtangerine-wallet-browser-e23c0f98faef3282d684bba48a53a1f48425b52d.tar
tangerine-wallet-browser-e23c0f98faef3282d684bba48a53a1f48425b52d.tar.gz
tangerine-wallet-browser-e23c0f98faef3282d684bba48a53a1f48425b52d.tar.bz2
tangerine-wallet-browser-e23c0f98faef3282d684bba48a53a1f48425b52d.tar.lz
tangerine-wallet-browser-e23c0f98faef3282d684bba48a53a1f48425b52d.tar.xz
tangerine-wallet-browser-e23c0f98faef3282d684bba48a53a1f48425b52d.tar.zst
tangerine-wallet-browser-e23c0f98faef3282d684bba48a53a1f48425b52d.zip
clean up test
Diffstat (limited to 'test/unit')
-rw-r--r--test/unit/network-contoller-test.js3
1 files changed, 1 insertions, 2 deletions
diff --git a/test/unit/network-contoller-test.js b/test/unit/network-contoller-test.js
index 46f473af2..76452b303 100644
--- a/test/unit/network-contoller-test.js
+++ b/test/unit/network-contoller-test.js
@@ -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 () => {}
},