Skip to content

New rule: prefer-to-have-style #74

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

Closed
benmonro opened this issue Aug 26, 2020 · 1 comment · Fixed by #76
Closed

New rule: prefer-to-have-style #74

benmonro opened this issue Aug 26, 2020 · 1 comment · Fixed by #76
Labels
enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed released

Comments

@benmonro
Copy link
Member

Create a new rule that auto-fixes expect(el.style.foo).toBe("bar") into expect(el).toHaveStyle({foo:"bar"})

@benmonro benmonro added enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed labels Aug 26, 2020
@benmonro
Copy link
Member Author

🎉 This issue has been resolved in version 3.2.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed released
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant