mercredi 10 octobre 2018

Files containing only exports decreases the test coverage Jest

I'm using create-react-app which uses Jest for testing. I have index.js files containing exports lines like

export { default } from './App.component';

which decreases the test coverage of my application.

Q: How to test such files or at least ignore them?

Aucun commentaire:

Enregistrer un commentaire