In my package.json I have this jest test configuration:
test: {
default: `${crossEnv(
'CI=false'
)} react-scripts test --env=jsdom --verbose=false`,
local: {
default: 'react-scripts test --env=jsdom --coverage',
},
coverage: 'lerna exec npm start test.coverage',
ci: `${crossEnv('CI=true')} react-scripts test --env=jsdom --coverage`,
},
For some reason when I run a jest test and use console.log() the log is not displayed?