aboutsummaryrefslogtreecommitdiffstats
path: root/test/unit
diff options
context:
space:
mode:
Diffstat (limited to 'test/unit')
-rw-r--r--test/unit/components/pending-tx-test.js16
1 files changed, 2 insertions, 14 deletions
diff --git a/test/unit/components/pending-tx-test.js b/test/unit/components/pending-tx-test.js
index 57fccba71..fe8290003 100644
--- a/test/unit/components/pending-tx-test.js
+++ b/test/unit/components/pending-tx-test.js
@@ -46,6 +46,8 @@ describe.only('PendingTx', function () {
accounts: identities,
txData,
sendTransaction: (txMeta, event) => {
+
+ // Assert changes:
const result = ethUtil.addHexPrefix(txMeta.txParams.gasPrice)
assert.notEqual(result, gasPrice, 'gas price should change')
assert.equal(result, newGasPrice, 'gas price assigned.')
@@ -81,20 +83,6 @@ describe.only('PendingTx', function () {
console.error(e)
}
- const noop = () => {}
-
- setTimeout(() => {
-
- // Get the gas price input
- // Set it to the newGasPrice value
- // Wait for the value to change
- // Get the submit button
- // Click the submit button
- // Get the output of the submit event.
- // Assert that the value was updated.
-
- }, 200)
-
})
})