You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
allow setting of coverage reporters (or other jest config options) #1785
but this seems to be ignored when working with RCA.
I looked at perhaps using using react-scripts test -- --coverage --config ... to specify a config file for jest, but this yields a weird error:
> react-scripts test --env=jsdom --coverage --config=./jest/ci-conf.json
Error: Unknown config option "0" with value "./jest/ci-conf.json". This is either a typing error or a user mistake and fixing it will remove this message.
Specifying a config for jest is the worst case scenario, however, since it would require knowledge of what RCA normally provides. It would be much nicer to be able to override this in package.json
Activity
ejfrancis commentedon Mar 31, 2017
+1 , I need cobertura but don't want to eject from CRA
gaearon commentedon May 16, 2017
Fixed by #1830.
gaearon commentedon May 16, 2017
Please help beta test the new version that includes this change!
#2172