Merge pull request #4512 from MetaMask/test-metamask-no-diagnostics

test - metamask-controller - disable diagnostics
feature/default_network_editable
Thomas Huang 6 years ago committed by GitHub
commit 1fb408f62e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 3
      test/unit/app/controllers/metamask-controller-test.js

@ -53,6 +53,9 @@ describe('MetaMaskController', function () {
}, },
initState: clone(firstTimeState), initState: clone(firstTimeState),
}) })
// disable diagnostics
metamaskController.diagnostics = null
// add sinon method spies
sandbox.spy(metamaskController.keyringController, 'createNewVaultAndKeychain') sandbox.spy(metamaskController.keyringController, 'createNewVaultAndKeychain')
sandbox.spy(metamaskController.keyringController, 'createNewVaultAndRestore') sandbox.spy(metamaskController.keyringController, 'createNewVaultAndRestore')
}) })

Loading…
Cancel
Save