Remove extraneous console output from TransactionStateManager tests (#7838)

feature/default_network_editable
Whymarrh Whitby 5 years ago committed by Thomas Huang
parent 48c9b0174f
commit 4257858fb5
  1. 5
      test/unit/app/controllers/transactions/tx-state-manager-test.js

@ -56,10 +56,7 @@ describe('TransactionStateManager', function () {
it('should emit a rejected event to signal the exciton of callback', (done) => {
const tx = { id: 1, status: 'unapproved', metamaskNetworkId: currentNetworkId, txParams: {} }
txStateManager.addTx(tx)
const noop = function (err) {
if (err) {
console.log('Error: ', err)
}
const noop = () => {
assert(true, 'event listener has been triggered and noop executed')
done()
}

Loading…
Cancel
Save