mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-23 09:52:26 +01:00
Fix test
This commit is contained in:
parent
c17c657693
commit
c9585f166f
@ -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…
Reference in New Issue
Block a user