aboutsummaryrefslogtreecommitdiffstats
path: root/test/unit
diff options
context:
space:
mode:
authorChi Kei Chan <chikeichan@gmail.com>2017-10-03 02:11:54 +0800
committerChi Kei Chan <chikeichan@gmail.com>2017-10-21 12:51:37 +0800
commit996523c790e2299ff4d8b67151ef0add12f5f778 (patch)
treeed379ee2b857004320e0c12ebe526ba90140dee1 /test/unit
parentac50db52a9e86bfef9a47fbea3feb7fe78947566 (diff)
downloadtangerine-wallet-browser-996523c790e2299ff4d8b67151ef0add12f5f778.tar
tangerine-wallet-browser-996523c790e2299ff4d8b67151ef0add12f5f778.tar.gz
tangerine-wallet-browser-996523c790e2299ff4d8b67151ef0add12f5f778.tar.bz2
tangerine-wallet-browser-996523c790e2299ff4d8b67151ef0add12f5f778.tar.lz
tangerine-wallet-browser-996523c790e2299ff4d8b67151ef0add12f5f778.tar.xz
tangerine-wallet-browser-996523c790e2299ff4d8b67151ef0add12f5f778.tar.zst
tangerine-wallet-browser-996523c790e2299ff4d8b67151ef0add12f5f778.zip
Fix unit test
Diffstat (limited to 'test/unit')
-rw-r--r--test/unit/pending-balance-test.js2
-rw-r--r--test/unit/pending-tx-test.js3
2 files changed, 3 insertions, 2 deletions
diff --git a/test/unit/pending-balance-test.js b/test/unit/pending-balance-test.js
index 5048d487b..dc4c1c3e4 100644
--- a/test/unit/pending-balance-test.js
+++ b/test/unit/pending-balance-test.js
@@ -9,7 +9,7 @@ const etherBn = new BN(String(1e18))
const ether = '0x' + etherBn.toString(16)
describe('PendingBalanceCalculator', function () {
- let balanceCalculator
+ let balanceCalculator, pendingTxs
describe('#calculateMaxCost(tx)', function () {
it('returns a BN for a given tx value', function () {
diff --git a/test/unit/pending-tx-test.js b/test/unit/pending-tx-test.js
index 32421a44f..4b5170dfe 100644
--- a/test/unit/pending-tx-test.js
+++ b/test/unit/pending-tx-test.js
@@ -13,7 +13,8 @@ const otherNetworkId = 36
const privKey = new Buffer('8718b9618a37d1fc78c436511fc6df3c8258d3250635bba617f33003270ec03e', 'hex')
describe('PendingTransactionTracker', function () {
- let pendingTxTracker, txMeta, txMetaNoHash, txMetaNoRawTx, providerResultStub, provider
+ let pendingTxTracker, txMeta, txMetaNoHash, txMetaNoRawTx, providerResultStub,
+ provider, txMeta3, txList, knownErrors
this.timeout(10000)
beforeEach(function () {
txMeta = {