diff options
author | kumavis <kumavis@users.noreply.github.com> | 2017-09-28 06:56:23 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-09-28 06:56:23 +0800 |
commit | ecf909e140b2fc99afbd15f6f0882dd17e3ecb88 (patch) | |
tree | 7bcbb40e5d99c1ba3fd72916fdbfe5f61881958c /test | |
parent | fc17d4511d195c1f18e4f84d8eb77c666fe13c70 (diff) | |
parent | 06b5dd2096b6bfcdf7d9ebf7c9bb1e40c8aed2e0 (diff) | |
download | tangerine-wallet-browser-ecf909e140b2fc99afbd15f6f0882dd17e3ecb88.tar tangerine-wallet-browser-ecf909e140b2fc99afbd15f6f0882dd17e3ecb88.tar.gz tangerine-wallet-browser-ecf909e140b2fc99afbd15f6f0882dd17e3ecb88.tar.bz2 tangerine-wallet-browser-ecf909e140b2fc99afbd15f6f0882dd17e3ecb88.tar.lz tangerine-wallet-browser-ecf909e140b2fc99afbd15f6f0882dd17e3ecb88.tar.xz tangerine-wallet-browser-ecf909e140b2fc99afbd15f6f0882dd17e3ecb88.tar.zst tangerine-wallet-browser-ecf909e140b2fc99afbd15f6f0882dd17e3ecb88.zip |
Merge pull request #2194 from MetaMask/network-controller-refactor
Network controller refactor
Diffstat (limited to 'test')
-rw-r--r-- | test/unit/network-contoller-test.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/unit/network-contoller-test.js b/test/unit/network-contoller-test.js index c1fdaf032..0b3b5adeb 100644 --- a/test/unit/network-contoller-test.js +++ b/test/unit/network-contoller-test.js @@ -20,9 +20,9 @@ describe('# Network Controller', function () { describe('#provider', function () { it('provider should be updatable without reassignment', function () { networkController.initializeProvider(networkControllerProviderInit, dummyProviderConstructor) - const provider = networkController.provider - networkController.provider.setTarget({test: true, on: () => {}}) - assert.ok(provider.test) + const proxy = networkController._proxy + proxy.setTarget({ test: true, on: () => {} }) + assert.ok(proxy.test) }) }) describe('#getNetworkState', function () { |