diff options
author | kumavis <kumavis@users.noreply.github.com> | 2018-06-06 04:31:34 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-06-06 04:31:34 +0800 |
commit | da938ded5c055845885d1e95ba1c74df3f92e71d (patch) | |
tree | 7d233d2236d4b77dbda580f96341949e58fe37e8 | |
parent | c2e3194dbf4e2a3fd2bdffb3300ec0cd822dc78e (diff) | |
download | tangerine-wallet-browser-da938ded5c055845885d1e95ba1c74df3f92e71d.tar tangerine-wallet-browser-da938ded5c055845885d1e95ba1c74df3f92e71d.tar.gz tangerine-wallet-browser-da938ded5c055845885d1e95ba1c74df3f92e71d.tar.bz2 tangerine-wallet-browser-da938ded5c055845885d1e95ba1c74df3f92e71d.tar.lz tangerine-wallet-browser-da938ded5c055845885d1e95ba1c74df3f92e71d.tar.xz tangerine-wallet-browser-da938ded5c055845885d1e95ba1c74df3f92e71d.tar.zst tangerine-wallet-browser-da938ded5c055845885d1e95ba1c74df3f92e71d.zip |
test - metamask-controller - disable diagnostics
-rw-r--r-- | test/unit/app/controllers/metamask-controller-test.js | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/test/unit/app/controllers/metamask-controller-test.js b/test/unit/app/controllers/metamask-controller-test.js index 266c3f258..0dda4609b 100644 --- a/test/unit/app/controllers/metamask-controller-test.js +++ b/test/unit/app/controllers/metamask-controller-test.js @@ -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') }) |