diff --git a/package.json b/package.json index 9e2e38ac..1b78f5d0 100644 --- a/package.json +++ b/package.json @@ -36,7 +36,7 @@ "release": "electron-builder --mac --linux --windows -p always", "start-mainnet": "REACT_APP_NETWORK=mainnet yarn start", "start": "react-app-rewired start", - "test": "NODE_ENV=test && react-app-rewired test --env=jsdom --coverage", + "test": "NODE_ENV=test && react-app-rewired test --env=jsdom --coverage --watchAll=false", "coveralls": "cat ./coverage/lcov.info | coveralls" }, "husky": { diff --git a/src/test/tokens.dom.enabling.ts b/src/test/tokens.dom.enabling.ts index e4ef0eb0..1f22bff7 100644 --- a/src/test/tokens.dom.enabling.ts +++ b/src/test/tokens.dom.enabling.ts @@ -1,4 +1,4 @@ -// +// import { waitForElement } from '@testing-library/react' import { List } from 'immutable' import { getWeb3 } from 'src/logic/wallets/getWeb3' @@ -8,7 +8,7 @@ import { aMinedSafe } from 'src/test/builder/safe.redux.builder' import { renderSafeView } from 'src/test/builder/safe.dom.utils' import { sleep } from 'src/utils/timer' import saveTokens from 'src/logic/tokens/store/actions/saveTokens' -import { clickOnManageTokens, toggleToken, closeManageTokensModal } from './utils/DOMNavigation' +import { clickOnManageTokens, closeManageTokensModal, toggleToken } from './utils/DOMNavigation' import { BALANCE_ROW_TEST_ID } from 'src/routes/safe/components/Balances' import { makeToken } from 'src/logic/tokens/store/model/token' import '@testing-library/jest-dom/extend-expect'