-
-
Notifications
You must be signed in to change notification settings - Fork 6.5k
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
Message when using changedSince
is wrong
#7026
Comments
I'd just like to point out that the To Reproduce section should be Edit: Actually, this looks fairly simple enough. Let me take a look into this. |
Should we also include |
@rogeliog Would that be out of the scope of this issue? I was under the assumption that this issue was just handling the case where no tests are found from the ref given and just return a message like this Seems like there's an overlap with issue #7025. Given your proposal one would now need to parse the ref, shell out to check if it exists in tags, commits, and branches. If it doesn't exist, it will throw an error. Which is what #7025 is handling. |
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
🐛 Bug Report
When using
changedSince
, the message isNo tests found related to files changed since last commit.
To Reproduce
Jest repo:
yarn jest --changedFiles=master
Expected behavior
The message should say e.g.
since *commit/branch*
Link to repl or repo (highly encouraged)
N/A
Run
npx envinfo --preset jest
Paste the results here:
The text was updated successfully, but these errors were encountered: