mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-11-23 02:10:12 +01:00
fix test
This commit is contained in:
parent
2ed8d579da
commit
4f887c6a62
@ -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)
|
||||
})
|
||||
})
|
||||
|
Loading…
Reference in New Issue
Block a user