1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-12-23 09:52:26 +01:00

Remove logs

This commit is contained in:
Dan Finlay 2017-11-20 14:46:36 -08:00
parent 764a5bac56
commit 8dd0093184

View File

@ -13,12 +13,10 @@ describe('MetaMaskController', function () {
platform: {},
encryptor: {
encrypt: function(password, object) {
console.log('encrypting ', object)
this.object = object
return Promise.resolve()
},
decrypt: function () {
console.log('decrypting')
return Promise.resolve(this.object)
}
},
@ -55,11 +53,7 @@ describe('MetaMaskController', function () {
const password = 'a-fake-password'
const first = await metamaskController.createNewVaultAndKeychain(password)
console.log('FIRST ONE RETURNED:')
console.dir(first)
const second = await metamaskController.createNewVaultAndKeychain(password)
console.log('SECOND ONE RETURNED:')
console.dir(second)
assert(metamaskController.keyringController.createNewVaultAndKeychain.calledOnce)