1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-11-23 02:10:12 +01:00
This commit is contained in:
frankiebee 2017-09-26 13:44:45 -07:00
parent 2ed8d579da
commit 4f887c6a62

View File

@ -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)
})
})