Answer the question
In order to leave comments, you need to log in
How to include Jest in a separate repository?
Good afternoon.
The project uses lerna.js. Each repository has a separate folder with tests. I added tests, but when I run them, I get this error
No tests found, exiting with code 1
Run with `--passWithNoTests` to exit with code 0
No files found in ...
Make sure Jest's configuration does not exclude this directory.
To set up Jest, make sure a package.json file exists.
Jest Documentation: facebook.github.io/jest/docs/configuration.html
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question