diff options
author | brunobar79 <brunobar79@gmail.com> | 2018-08-18 00:56:07 +0800 |
---|---|---|
committer | brunobar79 <brunobar79@gmail.com> | 2018-08-18 00:56:07 +0800 |
commit | 992e7f1b5aae5ae4a96c67dd40b6626f181b51c1 (patch) | |
tree | 11a429e8d3fdbe7b4945d77273598091c4cbd70d /test/unit/app/controllers/network-contoller-test.js | |
parent | 51e4a6d3355524cd8622d6d2893cc878a64dc53e (diff) | |
download | tangerine-wallet-browser-992e7f1b5aae5ae4a96c67dd40b6626f181b51c1.tar.gz tangerine-wallet-browser-992e7f1b5aae5ae4a96c67dd40b6626f181b51c1.tar.zst tangerine-wallet-browser-992e7f1b5aae5ae4a96c67dd40b6626f181b51c1.zip |
fix merge conflicts
Diffstat (limited to 'test/unit/app/controllers/network-contoller-test.js')
-rw-r--r-- | test/unit/app/controllers/network-contoller-test.js | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/test/unit/app/controllers/network-contoller-test.js b/test/unit/app/controllers/network-contoller-test.js index e16fb104e..822311931 100644 --- a/test/unit/app/controllers/network-contoller-test.js +++ b/test/unit/app/controllers/network-contoller-test.js @@ -32,9 +32,10 @@ describe('# Network Controller', function () { describe('#provider', function () { it('provider should be updatable without reassignment', function () { networkController.initializeProvider(networkControllerProviderConfig) - const proxy = networkController._proxy - proxy.setTarget({ test: true, on: () => {} }) - assert.ok(proxy.test) + const providerProxy = networkController.getProviderAndBlockTracker().provider + assert.equal(providerProxy.test, undefined) + providerProxy.setTarget({ test: true }) + assert.equal(providerProxy.test, true) }) }) describe('#getNetworkState', function () { |