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 })
|
||||
|
||||
saveTxToHistory(
|
||||
await saveTxToHistory(
|
||||
safeInstance,
|
||||
to,
|
||||
valueInWei,
|
||||
|
@ -89,7 +89,7 @@ export const executeTransaction = async (
|
|||
{ from: sender },
|
||||
)
|
||||
|
||||
saveTxToHistory(
|
||||
await saveTxToHistory(
|
||||
safeInstance,
|
||||
to,
|
||||
valueInWei,
|
||||
|
|
|
@ -34,9 +34,7 @@ const createTransaction = (
|
|||
openSnackbar('Approval transaction has been confirmed', 'success')
|
||||
}
|
||||
|
||||
if (!process.env.NODE_ENV === 'test') {
|
||||
dispatch(fetchTransactions(safeAddress))
|
||||
}
|
||||
dispatch(fetchTransactions(safeAddress))
|
||||
|
||||
return txHash
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue