diff options
author | Thomas Huang <tmashuang@users.noreply.github.com> | 2018-06-07 02:54:59 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-06-07 02:54:59 +0800 |
commit | 1fb408f62eb081311937420bb42da6c835510590 (patch) | |
tree | 9f0fa2363669096413030d13c8c119950d1b5013 /test/unit | |
parent | d30f03dcbf33c38cf33fc191fbe7d301a8594021 (diff) | |
parent | da938ded5c055845885d1e95ba1c74df3f92e71d (diff) | |
download | tangerine-wallet-browser-1fb408f62eb081311937420bb42da6c835510590.tar tangerine-wallet-browser-1fb408f62eb081311937420bb42da6c835510590.tar.gz tangerine-wallet-browser-1fb408f62eb081311937420bb42da6c835510590.tar.bz2 tangerine-wallet-browser-1fb408f62eb081311937420bb42da6c835510590.tar.lz tangerine-wallet-browser-1fb408f62eb081311937420bb42da6c835510590.tar.xz tangerine-wallet-browser-1fb408f62eb081311937420bb42da6c835510590.tar.zst tangerine-wallet-browser-1fb408f62eb081311937420bb42da6c835510590.zip |
Merge pull request #4512 from MetaMask/test-metamask-no-diagnostics
test - metamask-controller - disable diagnostics
Diffstat (limited to 'test/unit')
-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') }) |