From a1b787a9d9ae850e4101846d9b099c81eb7ccf55 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Germ=C3=A1n=20Mart=C3=ADnez?= Date: Mon, 26 Aug 2019 17:05:36 +0200 Subject: [PATCH] Format code --- src/test/utils/accounts.js | 5 +---- src/test/utils/transactions/transactionList.helper.js | 10 ++-------- 2 files changed, 3 insertions(+), 12 deletions(-) diff --git a/src/test/utils/accounts.js b/src/test/utils/accounts.js index e2b0e925..f4c4e9a6 100644 --- a/src/test/utils/accounts.js +++ b/src/test/utils/accounts.js @@ -7,7 +7,4 @@ function resetTestAccount() { delete window.testAccountIndex } -export { - useTestAccountAt, - resetTestAccount, -} +export { useTestAccountAt, resetTestAccount } diff --git a/src/test/utils/transactions/transactionList.helper.js b/src/test/utils/transactions/transactionList.helper.js index 2238dce7..4a767dd4 100644 --- a/src/test/utils/transactions/transactionList.helper.js +++ b/src/test/utils/transactions/transactionList.helper.js @@ -34,20 +34,14 @@ export const checkRegisteredTxSend = async ( expect(txDescription).toHaveTextContent(`Send ${ethAmount} ${symbol} to:${shortVersionOf(ethAddress, 4)}`) } -export const checkRegisteredTxAddOwner = async ( - SafeDom: React.Component, - ownerAddress: string, -) => { +export const checkRegisteredTxAddOwner = async (SafeDom: React.Component, ownerAddress: string) => { await getLastTransaction(SafeDom) const txDescription = SafeDom.getAllByTestId(TRANSACTIONS_DESC_ADD_OWNER_TEST_ID)[0] expect(txDescription).toHaveTextContent(`Add owner:${shortVersionOf(ownerAddress, 4)}`) } -export const checkRegisteredTxRemoveOwner = async ( - SafeDom: React.Component, - ownerAddress: string, -) => { +export const checkRegisteredTxRemoveOwner = async (SafeDom: React.Component, ownerAddress: string) => { await getLastTransaction(SafeDom) const txDescription = SafeDom.getAllByTestId(TRANSACTIONS_DESC_REMOVE_OWNER_TEST_ID)[0]