mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-23 09:52:26 +01:00
Merge pull request #4512 from MetaMask/test-metamask-no-diagnostics
test - metamask-controller - disable diagnostics
This commit is contained in:
commit
1fb408f62e
@ -53,6 +53,9 @@ describe('MetaMaskController', function () {
|
||||
},
|
||||
initState: clone(firstTimeState),
|
||||
})
|
||||
// disable diagnostics
|
||||
metamaskController.diagnostics = null
|
||||
// add sinon method spies
|
||||
sandbox.spy(metamaskController.keyringController, 'createNewVaultAndKeychain')
|
||||
sandbox.spy(metamaskController.keyringController, 'createNewVaultAndRestore')
|
||||
})
|
||||
|
Loading…
Reference in New Issue
Block a user