mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-23 09:52:26 +01:00
Remove extraneous console output from TransactionStateManager tests (#7838)
This commit is contained in:
parent
48c9b0174f
commit
4257858fb5
@ -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…
x
Reference in New Issue
Block a user