aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorDan Finlay <dan@danfinlay.com>2017-09-22 06:47:25 +0800
committerDan Finlay <dan@danfinlay.com>2017-09-22 06:47:25 +0800
commite9043f22dfa7856e3360b312ce480e71f36d9381 (patch)
tree1aa65923003c554ce84e86aad02645f5f7d4cb75 /test
parent9bd55f4897938bfdc363987252be6f5f390ab7a5 (diff)
downloadtangerine-wallet-browser-e9043f22dfa7856e3360b312ce480e71f36d9381.tar
tangerine-wallet-browser-e9043f22dfa7856e3360b312ce480e71f36d9381.tar.gz
tangerine-wallet-browser-e9043f22dfa7856e3360b312ce480e71f36d9381.tar.bz2
tangerine-wallet-browser-e9043f22dfa7856e3360b312ce480e71f36d9381.tar.lz
tangerine-wallet-browser-e9043f22dfa7856e3360b312ce480e71f36d9381.tar.xz
tangerine-wallet-browser-e9043f22dfa7856e3360b312ce480e71f36d9381.tar.zst
tangerine-wallet-browser-e9043f22dfa7856e3360b312ce480e71f36d9381.zip
Allow custom encryptor to be passed to MetaMaskController and KeyringControllers.
Diffstat (limited to 'test')
-rw-r--r--test/unit/keyring-controller-test.js5
1 files changed, 1 insertions, 4 deletions
diff --git a/test/unit/keyring-controller-test.js b/test/unit/keyring-controller-test.js
index 2d9a53723..8d0d75f12 100644
--- a/test/unit/keyring-controller-test.js
+++ b/test/unit/keyring-controller-test.js
@@ -27,12 +27,9 @@ describe('KeyringController', function () {
ethStore: {
addAccount (acct) { accounts.push(ethUtil.addHexPrefix(acct)) },
},
+ encryptor: mockEncryptor,
})
- // Stub out the browser crypto for a mock encryptor.
- // Browser crypto is tested in the integration test suite.
- keyringController.encryptor = mockEncryptor
-
keyringController.createNewVaultAndKeychain(password)
.then(function (newState) {
newState