Remove logs

feature/default_network_editable
Dan Finlay 7 years ago
parent 764a5bac56
commit 8dd0093184
  1. 6
      test/unit/metamask-controller-test.js

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

Loading…
Cancel
Save