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

ref(tests): Use correct assertions in RTL #29508

Merged
merged 2 commits into from
Oct 22, 2021
Merged

Conversation

matejminar
Copy link
Member

@matejminar matejminar commented Oct 22, 2021

The advantages of using these recommended assertions are:

  • better error messages
  • overall semantics, consistency, and uniformity

In a follow-up PR, I'll put an eslint rule (https://github.com/testing-library/eslint-plugin-jest-dom) in place to ensure that we keep this up in the future.

Relates to #29312 and #29517

@matejminar matejminar requested a review from a team October 22, 2021 12:10
@matejminar matejminar requested a review from a team as a code owner October 22, 2021 12:10
@matejminar matejminar requested a review from a team October 22, 2021 12:10
@matejminar matejminar requested a review from a team as a code owner October 22, 2021 12:10
@matejminar matejminar removed request for a team October 22, 2021 12:10
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants