aboutsummaryrefslogtreecommitdiffstats
path: root/test/unit
diff options
context:
space:
mode:
Diffstat (limited to 'test/unit')
-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(() => {