From 2004d38893d0b33249f029b66d62c8a491e2725d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Germ=C3=A1n=20Mart=C3=ADnez?= Date: Fri, 24 May 2019 12:00:27 +0200 Subject: [PATCH] Codestyle fixes --- .../AddOwnerModal/screens/OwnerForm/index.jsx | 1 - src/test/safe.dom.transactions.test.js | 12 +++--------- src/test/utils/DOMNavigation/tokens.js | 5 ++++- 3 files changed, 7 insertions(+), 11 deletions(-) diff --git a/src/routes/safe/components/Settings/ManageOwners/AddOwnerModal/screens/OwnerForm/index.jsx b/src/routes/safe/components/Settings/ManageOwners/AddOwnerModal/screens/OwnerForm/index.jsx index d33817be..f08b49f9 100644 --- a/src/routes/safe/components/Settings/ManageOwners/AddOwnerModal/screens/OwnerForm/index.jsx +++ b/src/routes/safe/components/Settings/ManageOwners/AddOwnerModal/screens/OwnerForm/index.jsx @@ -37,7 +37,6 @@ const OwnerForm = ({ onSubmit, }: Props) => { const handleSubmit = (values) => { - console.log(values) onSubmit(values) } diff --git a/src/test/safe.dom.transactions.test.js b/src/test/safe.dom.transactions.test.js index ba93243c..cf6474da 100644 --- a/src/test/safe.dom.transactions.test.js +++ b/src/test/safe.dom.transactions.test.js @@ -3,15 +3,9 @@ // TBD describe('DOM > Feature > SAFE MULTISIG Transactions', () => { - it.only('mines correctly all multisig txs in a 1 owner & 1 threshold safe', async () => { + it.only('mines correctly all multisig txs in a 1 owner & 1 threshold safe', async () => {}) - }) + it.only('mines withdraw process correctly all multisig txs in a 2 owner & 2 threshold safe', async () => {}) - it.only('mines withdraw process correctly all multisig txs in a 2 owner & 2 threshold safe', async () => { - - }) - - it.only('approves and executes pending transactions', async () => { - - }) + it.only('approves and executes pending transactions', async () => {}) }) diff --git a/src/test/utils/DOMNavigation/tokens.js b/src/test/utils/DOMNavigation/tokens.js index 7ed1a422..698933fd 100644 --- a/src/test/utils/DOMNavigation/tokens.js +++ b/src/test/utils/DOMNavigation/tokens.js @@ -1,7 +1,10 @@ // @flow import { fireEvent } from '@testing-library/react' import { MANAGE_TOKENS_BUTTON_TEST_ID } from '~/routes/safe/components/Balances' -import { ADD_CUSTOM_TOKEN_BUTTON_TEST_ID, TOGGLE_TOKEN_TEST_ID } from '~/routes/safe/components/Balances/Tokens/screens/TokenList' +import { + ADD_CUSTOM_TOKEN_BUTTON_TEST_ID, + TOGGLE_TOKEN_TEST_ID, +} from '~/routes/safe/components/Balances/Tokens/screens/TokenList' import { MANAGE_TOKENS_MODAL_CLOSE_BUTTON_TEST_ID } from '~/routes/safe/components/Balances/Tokens' export const clickOnManageTokens = (dom: any): void => {