Updates coverage script

This commit is contained in:
Agustin Pane 2020-06-30 12:06:46 -03:00
parent aa0366bee0
commit 35a118b975
2 changed files with 3 additions and 3 deletions

View File

@ -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": {

View File

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