jeudi 24 janvier 2019

Is there a way to exclude file patterns from jest?

In my React/Redux application, my team has decided we do not want to include containers in our jest coverage reports.

We have been successful with excluding directories, but unsuccessful when excluding files.

Does anyone have any suggestions about how to exclude files that end with the word Container in our jest configurations? ex: exampleComponentContainer.jsx should be exluded

Aucun commentaire:

Enregistrer un commentaire