1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-11-23 02:10:12 +01:00

Clean up test

This commit is contained in:
Dan Finlay 2017-05-15 15:23:38 -07:00
parent fc7b4cb4bc
commit f9c0fc0e8c

View File

@ -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)
})
})