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

Got test failing

This commit is contained in:
Dan Finlay 2017-05-11 15:28:33 -07:00
parent 113f7d67f1
commit 16005ebd3a

View File

@ -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(() => {