feature/default_network_editable
Dan Finlay 7 years ago
parent c17c657693
commit c9585f166f
  1. 5
      test/unit/components/pending-tx-test.js

@ -34,10 +34,15 @@ describe('PendingTx', function () {
const renderer = ReactTestUtils.createRenderer() const renderer = ReactTestUtils.createRenderer()
const newGasPrice = '0x77359400' const newGasPrice = '0x77359400'
const computedBalances = {}
computedBalances[Object.keys(identities)[0]] = {
ethBalance: '0x00000000000000056bc75e2d63100000',
}
const props = { const props = {
identities, identities,
accounts: identities, accounts: identities,
txData, txData,
computedBalances,
sendTransaction: (txMeta, event) => { sendTransaction: (txMeta, event) => {
// Assert changes: // Assert changes:
const result = ethUtil.addHexPrefix(txMeta.txParams.gasPrice) const result = ethUtil.addHexPrefix(txMeta.txParams.gasPrice)

Loading…
Cancel
Save