jeudi 5 mars 2020

Jest: how to create a __tests__ folder which mirrors the src directory?

Using Jest (for React testing) I would like to have my tests in their own directory, mirroring the src dir. Ex:

appRoot
├── src
│   └── components
├── __tests__
│   └── components

I do not want to have my tests inside the src folder

Aucun commentaire:

Enregistrer un commentaire