Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(jest-runner): support findRelatedTests for mutated files outside of roots #2951

Merged
merged 7 commits into from
Jun 11, 2021

Conversation

nicojs
Copy link
Member

@nicojs nicojs commented Jun 11, 2021

Add support for mutating files that fall outside of the project's roots in jest configuration with enableFindRelatedTests. The Jest Runner will detect when the file under test might fall outside of the roots and injects the parent directory of the file under roots for that run.

Fixes #2933

@nicojs nicojs changed the title Fix/sut outside of roots feat(jest-runner): support findRelatedTests for mutated files outside of roots Jun 11, 2021
@nicojs nicojs marked this pull request as ready for review June 11, 2021 15:15
@nicojs nicojs merged commit 19dccec into master Jun 11, 2021
@nicojs nicojs deleted the fix/sut-outside-of-roots branch June 11, 2021 15:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Mutants that should be killed, aren't
1 participant