aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorDan Finlay <dan@danfinlay.com>2017-05-12 06:28:33 +0800
committerDan Finlay <dan@danfinlay.com>2017-05-12 06:28:33 +0800
commit16005ebd3a7db5c48f9d81d5a1c77ace7ff92958 (patch)
tree451289b23cf6c584b582d572e0a1acfc58866eca /test
parent113f7d67f1973d1468b95517895701af8ca16f95 (diff)
downloadtangerine-wallet-browser-16005ebd3a7db5c48f9d81d5a1c77ace7ff92958.tar
tangerine-wallet-browser-16005ebd3a7db5c48f9d81d5a1c77ace7ff92958.tar.gz
tangerine-wallet-browser-16005ebd3a7db5c48f9d81d5a1c77ace7ff92958.tar.bz2
tangerine-wallet-browser-16005ebd3a7db5c48f9d81d5a1c77ace7ff92958.tar.lz
tangerine-wallet-browser-16005ebd3a7db5c48f9d81d5a1c77ace7ff92958.tar.xz
tangerine-wallet-browser-16005ebd3a7db5c48f9d81d5a1c77ace7ff92958.tar.zst
tangerine-wallet-browser-16005ebd3a7db5c48f9d81d5a1c77ace7ff92958.zip
Got test failing
Diffstat (limited to 'test')
-rw-r--r--test/unit/components/pending-tx-test.js4
1 files changed, 3 insertions, 1 deletions
diff --git a/test/unit/components/pending-tx-test.js b/test/unit/components/pending-tx-test.js
index 3e26fc6f5..b798865cc 100644
--- a/test/unit/components/pending-tx-test.js
+++ b/test/unit/components/pending-tx-test.js
@@ -30,12 +30,15 @@ describe.only('PendingTx', function () {
it('should use updated values when edited.', function (done) {
+ const newGasPrice = '0x451456'
+
const props = {
identities,
accounts: identities,
txData,
sendTransaction: (txMeta, event) => {
assert.notEqual(txMeta.txParams.gasPrice, gasPrice, 'gas price should change')
+ assert.equal(txMeta.txParams.gasPrice, newGasPrice, 'gas price assigned.')
done()
},
}
@@ -47,7 +50,6 @@ describe.only('PendingTx', function () {
setTimeout(() => {
console.log('component mounted')
- const newGasPrice = '0x451456'
pendingTxComponent.gasPriceChanged(newGasPrice)
setTimeout(() => {