aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDan Finlay <dan@danfinlay.com>2017-07-06 14:04:51 +0800
committerDan Finlay <dan@danfinlay.com>2017-07-06 14:04:51 +0800
commit96df7ad8d36b68e521e670d28e3efda38e41972f (patch)
tree0cca5033b46fe8f46a4c44e932d446f17194ad42
parentef1282b55648ad5e787b170cc06e5f8b292f5983 (diff)
downloadtangerine-wallet-browser-96df7ad8d36b68e521e670d28e3efda38e41972f.tar
tangerine-wallet-browser-96df7ad8d36b68e521e670d28e3efda38e41972f.tar.gz
tangerine-wallet-browser-96df7ad8d36b68e521e670d28e3efda38e41972f.tar.bz2
tangerine-wallet-browser-96df7ad8d36b68e521e670d28e3efda38e41972f.tar.lz
tangerine-wallet-browser-96df7ad8d36b68e521e670d28e3efda38e41972f.tar.xz
tangerine-wallet-browser-96df7ad8d36b68e521e670d28e3efda38e41972f.tar.zst
tangerine-wallet-browser-96df7ad8d36b68e521e670d28e3efda38e41972f.zip
Add missing done
-rw-r--r--test/unit/tx-controller-test.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/unit/tx-controller-test.js b/test/unit/tx-controller-test.js
index 074e6c954..7b0ad66bd 100644
--- a/test/unit/tx-controller-test.js
+++ b/test/unit/tx-controller-test.js
@@ -342,6 +342,7 @@ describe('Transaction Controller', function () {
}
// Stubbing out current account state:
+ txController.ethStore = { getState: noop }
const getStateStub = sinon.stub(txController.ethStore, 'getState')
.returns(fakeStoreState)
@@ -354,9 +355,9 @@ describe('Transaction Controller', function () {
const updatedMeta = txController.getTx(txMeta.id)
assert.notEqual(updatedMeta.status, txMeta.status, 'status changed.')
assert.notEqual(updatedMeta.status, 'failed', 'tx set to failed.')
+ done()
})
})
})
-
})