aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorDan Finlay <dan@danfinlay.com>2017-05-16 06:23:38 +0800
committerDan Finlay <dan@danfinlay.com>2017-05-16 06:23:38 +0800
commitf9c0fc0e8cb04f371ce8e99c41c74989841c2c24 (patch)
treee903b008431ac6eada75a8142e0074a92a234aab /test
parentfc7b4cb4bc5141f920131f8d79c56ca9ff3b6d2c (diff)
downloadtangerine-wallet-browser-f9c0fc0e8cb04f371ce8e99c41c74989841c2c24.tar
tangerine-wallet-browser-f9c0fc0e8cb04f371ce8e99c41c74989841c2c24.tar.gz
tangerine-wallet-browser-f9c0fc0e8cb04f371ce8e99c41c74989841c2c24.tar.bz2
tangerine-wallet-browser-f9c0fc0e8cb04f371ce8e99c41c74989841c2c24.tar.lz
tangerine-wallet-browser-f9c0fc0e8cb04f371ce8e99c41c74989841c2c24.tar.xz
tangerine-wallet-browser-f9c0fc0e8cb04f371ce8e99c41c74989841c2c24.tar.zst
tangerine-wallet-browser-f9c0fc0e8cb04f371ce8e99c41c74989841c2c24.zip
Clean up test
Diffstat (limited to 'test')
-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)
-
})
})