Tests wip
This commit is contained in:
parent
690967f0e1
commit
c655f3119a
|
@ -39,7 +39,7 @@ export const approveTransaction = async (
|
||||||
)
|
)
|
||||||
const receipt = await safeInstance.approveHash(contractTxHash, { from: sender })
|
const receipt = await safeInstance.approveHash(contractTxHash, { from: sender })
|
||||||
|
|
||||||
saveTxToHistory(
|
await saveTxToHistory(
|
||||||
safeInstance,
|
safeInstance,
|
||||||
to,
|
to,
|
||||||
valueInWei,
|
valueInWei,
|
||||||
|
@ -89,7 +89,7 @@ export const executeTransaction = async (
|
||||||
{ from: sender },
|
{ from: sender },
|
||||||
)
|
)
|
||||||
|
|
||||||
saveTxToHistory(
|
await saveTxToHistory(
|
||||||
safeInstance,
|
safeInstance,
|
||||||
to,
|
to,
|
||||||
valueInWei,
|
valueInWei,
|
||||||
|
|
|
@ -34,9 +34,7 @@ const createTransaction = (
|
||||||
openSnackbar('Approval transaction has been confirmed', 'success')
|
openSnackbar('Approval transaction has been confirmed', 'success')
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!process.env.NODE_ENV === 'test') {
|
|
||||||
dispatch(fetchTransactions(safeAddress))
|
dispatch(fetchTransactions(safeAddress))
|
||||||
}
|
|
||||||
|
|
||||||
return txHash
|
return txHash
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue