diff options
author | Dan Finlay <542863+danfinlay@users.noreply.github.com> | 2017-09-28 02:13:06 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-09-28 02:13:06 +0800 |
commit | 828dbd7e3fcbb670d3dce4aa31109a4495832caa (patch) | |
tree | 8177fb150ae254b838cabec028b3c5e08fbc951e /test | |
parent | ca0dff06f5d9283e57b452dcc7e85c31b248b8aa (diff) | |
parent | e72083f6e81f888f714125f7c050e777ea5c9bdd (diff) | |
download | tangerine-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.js | 3 |
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, |