aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorDan Finlay <542863+danfinlay@users.noreply.github.com>2017-09-28 02:13:06 +0800
committerGitHub <noreply@github.com>2017-09-28 02:13:06 +0800
commit828dbd7e3fcbb670d3dce4aa31109a4495832caa (patch)
tree8177fb150ae254b838cabec028b3c5e08fbc951e /test
parentca0dff06f5d9283e57b452dcc7e85c31b248b8aa (diff)
parente72083f6e81f888f714125f7c050e777ea5c9bdd (diff)
downloadtangerine-wallet-browser-828dbd7e3fcbb670d3dce4aa31109a4495832caa.tar
tangerine-wallet-browser-828dbd7e3fcbb670d3dce4aa31109a4495832caa.tar.gz
tangerine-wallet-browser-828dbd7e3fcbb670d3dce4aa31109a4495832caa.tar.bz2
tangerine-wallet-browser-828dbd7e3fcbb670d3dce4aa31109a4495832caa.tar.lz
tangerine-wallet-browser-828dbd7e3fcbb670d3dce4aa31109a4495832caa.tar.xz
tangerine-wallet-browser-828dbd7e3fcbb670d3dce4aa31109a4495832caa.tar.zst
tangerine-wallet-browser-828dbd7e3fcbb670d3dce4aa31109a4495832caa.zip
Merge pull request #2155 from MetaMask/filter-fixes-moar
Various fixes you've been waiting for, how exciting!
Diffstat (limited to 'test')
-rw-r--r--test/unit/network-contoller-test.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/unit/network-contoller-test.js b/test/unit/network-contoller-test.js
index 87c2ee7a3..c1fdaf032 100644
--- a/test/unit/network-contoller-test.js
+++ b/test/unit/network-contoller-test.js
@@ -21,7 +21,7 @@ describe('# Network Controller', function () {
it('provider should be updatable without reassignment', function () {
networkController.initializeProvider(networkControllerProviderInit, dummyProviderConstructor)
const provider = networkController.provider
- networkController._provider = {test: true}
+ networkController.provider.setTarget({test: true, on: () => {}})
assert.ok(provider.test)
})
})
@@ -71,6 +71,7 @@ function dummyProviderConstructor() {
// provider
sendAsync: noop,
// block tracker
+ _blockTracker: {},
start: noop,
stop: noop,
on: noop,