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

fix(util): identify only valid global properties #341

Merged
merged 1 commit into from Jul 22, 2019
Merged

fix(util): identify only valid global properties #341

merged 1 commit into from Jul 22, 2019

Conversation

ranyitz
Copy link
Contributor

@ranyitz ranyitz commented Jul 22, 2019

This PR fixes #340 (well, only a part of it)

By improving the utilities isTestCase and isDescribe to return true only when used with valid properties (e.g. test.skip) in oppose to test.foo which is not a valid test case.

@SimenB SimenB merged commit 8e67740 into jest-community:master Jul 22, 2019
@SimenB
Copy link
Member

SimenB commented Jul 22, 2019

🎉 This PR is included in version 22.13.5 🎉

The release is available on:

Your semantic-release bot 📦🚀

@ranyitz ranyitz deleted the validate-property-names branch July 22, 2019 20:53
@SimenB
Copy link
Member

SimenB commented Jul 22, 2019

@ranyitz wanna PR this to tsUtils as well?

@ranyitz
Copy link
Contributor Author

ranyitz commented Jul 23, 2019

@SimenB No problems, I'll send a PR soon

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

False positives for no-identical-title rule
2 participants