Closed
Description
Do you want to request a feature or report a bug?
Bug
What is the current behavior?
When $HOME
is the same as the application directory yarn will default to putting its cache directory at $APP_DIR/.cache/yarn/v1/...
and Jest will pick up tests in dependencies.
This happens to users trying to use Jest with Heroku CI, where $HOME
is /app
.
What is the expected behavior?
Jest should ignore the yarn cache directory as a smart default like it currently does for node_modules
.