aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorfrankiebee <frankie.diamond@gmail.com>2017-09-27 04:44:45 +0800
committerfrankiebee <frankie.diamond@gmail.com>2017-09-27 04:44:45 +0800
commit4f887c6a62ebcecfb578d55fffd3c9f7a1bd088a (patch)
tree3bf103d69961a9785703b348e2a81e6a6752cad4 /test
parent2ed8d579daa4d33c38891ac77d1415fcd237a187 (diff)
downloadtangerine-wallet-browser-4f887c6a62ebcecfb578d55fffd3c9f7a1bd088a.tar
tangerine-wallet-browser-4f887c6a62ebcecfb578d55fffd3c9f7a1bd088a.tar.gz
tangerine-wallet-browser-4f887c6a62ebcecfb578d55fffd3c9f7a1bd088a.tar.bz2
tangerine-wallet-browser-4f887c6a62ebcecfb578d55fffd3c9f7a1bd088a.tar.lz
tangerine-wallet-browser-4f887c6a62ebcecfb578d55fffd3c9f7a1bd088a.tar.xz
tangerine-wallet-browser-4f887c6a62ebcecfb578d55fffd3c9f7a1bd088a.tar.zst
tangerine-wallet-browser-4f887c6a62ebcecfb578d55fffd3c9f7a1bd088a.zip
fix test
Diffstat (limited to 'test')
-rw-r--r--test/unit/network-contoller-test.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/unit/network-contoller-test.js b/test/unit/network-contoller-test.js
index 853e4e457..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)
})
})