aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorkumavis <aaron@kumavis.me>2018-05-29 07:00:35 +0800
committerkumavis <aaron@kumavis.me>2018-05-29 07:00:35 +0800
commit31f47a7a426fc623a9b760127f802983b497ff77 (patch)
tree01444e8d83fdabe313fb0714cce15c1bbd48ee5f /test
parent686d5cf825b8f6312c351103d5cae15af1ff9b8e (diff)
downloadtangerine-wallet-browser-31f47a7a426fc623a9b760127f802983b497ff77.tar
tangerine-wallet-browser-31f47a7a426fc623a9b760127f802983b497ff77.tar.gz
tangerine-wallet-browser-31f47a7a426fc623a9b760127f802983b497ff77.tar.bz2
tangerine-wallet-browser-31f47a7a426fc623a9b760127f802983b497ff77.tar.lz
tangerine-wallet-browser-31f47a7a426fc623a9b760127f802983b497ff77.tar.xz
tangerine-wallet-browser-31f47a7a426fc623a9b760127f802983b497ff77.tar.zst
tangerine-wallet-browser-31f47a7a426fc623a9b760127f802983b497ff77.zip
test - unit - pending-tx-tracker - update method name
Diffstat (limited to 'test')
-rw-r--r--test/unit/app/controllers/transactions/pending-tx-test.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/unit/app/controllers/transactions/pending-tx-test.js b/test/unit/app/controllers/transactions/pending-tx-test.js
index f06f1c0dd..f0096dadd 100644
--- a/test/unit/app/controllers/transactions/pending-tx-test.js
+++ b/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()
})
})