Tests wip

This commit is contained in:
Germán Martínez 2019-07-19 17:18:14 +02:00
parent 690967f0e1
commit c655f3119a
2 changed files with 3 additions and 5 deletions

View File

@ -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,

View File

@ -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
}