test - unit - pending-tx-tracker - update method name

feature/default_network_editable
kumavis 7 years ago
parent 686d5cf825
commit 31f47a7a42
  1. 4
      test/unit/app/controllers/transactions/pending-tx-test.js

@ -134,14 +134,14 @@ describe('PendingTransactionTracker', function () {
})
})
it('should warp all txMeta\'s in #_checkPendingTx', function (done) {
it('should warp all txMeta\'s in #updatePendingTxs', function (done) {
pendingTxTracker.getPendingTransactions = () => txList
pendingTxTracker._checkPendingTx = (tx) => { tx.resolve(tx) }
Promise.all(txList.map((tx) => tx.processed))
.then((txCompletedList) => done())
.catch(done)
pendingTxTracker._checkPendingTxs()
pendingTxTracker.updatePendingTxs()
})
})

Loading…
Cancel
Save