Updates coverage script
This commit is contained in:
parent
aa0366bee0
commit
35a118b975
|
@ -36,7 +36,7 @@
|
||||||
"release": "electron-builder --mac --linux --windows -p always",
|
"release": "electron-builder --mac --linux --windows -p always",
|
||||||
"start-mainnet": "REACT_APP_NETWORK=mainnet yarn start",
|
"start-mainnet": "REACT_APP_NETWORK=mainnet yarn start",
|
||||||
"start": "react-app-rewired 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"
|
"coveralls": "cat ./coverage/lcov.info | coveralls"
|
||||||
},
|
},
|
||||||
"husky": {
|
"husky": {
|
||||||
|
|
|
@ -8,7 +8,7 @@ import { aMinedSafe } from 'src/test/builder/safe.redux.builder'
|
||||||
import { renderSafeView } from 'src/test/builder/safe.dom.utils'
|
import { renderSafeView } from 'src/test/builder/safe.dom.utils'
|
||||||
import { sleep } from 'src/utils/timer'
|
import { sleep } from 'src/utils/timer'
|
||||||
import saveTokens from 'src/logic/tokens/store/actions/saveTokens'
|
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 { BALANCE_ROW_TEST_ID } from 'src/routes/safe/components/Balances'
|
||||||
import { makeToken } from 'src/logic/tokens/store/model/token'
|
import { makeToken } from 'src/logic/tokens/store/model/token'
|
||||||
import '@testing-library/jest-dom/extend-expect'
|
import '@testing-library/jest-dom/extend-expect'
|
||||||
|
|
Loading…
Reference in New Issue