aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorfrankiebee <frankie.diamond@gmail.com>2017-12-29 07:48:22 +0800
committerfrankiebee <frankie.diamond@gmail.com>2017-12-29 07:48:22 +0800
commit0c54efdfc74079ff539606cbd0fc0a08fa922a0e (patch)
treeb0a434fe973404caf409a35d4f7ea20fe3ef86f1
parent8bd942d40629d8d68dd98b0bb8d10bf60d3e92c7 (diff)
downloadtangerine-wallet-browser-0c54efdfc74079ff539606cbd0fc0a08fa922a0e.tar
tangerine-wallet-browser-0c54efdfc74079ff539606cbd0fc0a08fa922a0e.tar.gz
tangerine-wallet-browser-0c54efdfc74079ff539606cbd0fc0a08fa922a0e.tar.bz2
tangerine-wallet-browser-0c54efdfc74079ff539606cbd0fc0a08fa922a0e.tar.lz
tangerine-wallet-browser-0c54efdfc74079ff539606cbd0fc0a08fa922a0e.tar.xz
tangerine-wallet-browser-0c54efdfc74079ff539606cbd0fc0a08fa922a0e.tar.zst
tangerine-wallet-browser-0c54efdfc74079ff539606cbd0fc0a08fa922a0e.zip
tests - be more verbose in test messages
-rw-r--r--test/unit/pending-tx-test.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/unit/pending-tx-test.js b/test/unit/pending-tx-test.js
index 0b557f055..bd47299cf 100644
--- a/test/unit/pending-tx-test.js
+++ b/test/unit/pending-tx-test.js
@@ -369,7 +369,7 @@ describe('PendingTransactionTracker', function () {
}
})
- it('should return false', function (done) {
+ it('should return false if nonce has not been taken', function (done) {
pendingTxTracker._checkIfNonceIsTaken({
txParams: {
from: '0x1678a085c290ebd122dc42cba69373b5953b831d',
@@ -384,7 +384,7 @@ describe('PendingTransactionTracker', function () {
.catch(done)
})
- it('should return true', function (done) {
+ it('should return true if nonce has been taken', function (done) {
pendingTxTracker._checkIfNonceIsTaken({
txParams: {
from: '0x1678a085c290ebd122dc42cba69373b5953b831d',