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 wrong toHaveValue example #431

Merged
merged 1 commit into from Feb 2, 2022
Merged

Conversation

cbroeren
Copy link
Contributor

What:

Small fix on README.md

Why:

The .toHaveValue example for the select verifies for .not.toHaveValue, but the code example has these two options selected. That means it should have this value.

How:

I removed the .not part to have the test example match the code example.

Checklist:

  • Documentation
  • Tests N/A
  • Updated Type Definitions N/A
  • Ready to be merged

Screen Shot 2022-01-31 at 19 33 58

Small fix on README.md

The `.toHaveValue` example for the select verifies for `.not.toHaveValue`, but the code example has these two options selected.
That means it _should_ have this value, so I removed the `.not` part to have the test example match the code example.
@gnapse
Copy link
Member

gnapse commented Feb 2, 2022

@all-contributors please add @cbroeren for docs

@allcontributors
Copy link
Contributor

@gnapse

I've put up a pull request to add @cbroeren! 🎉

@codecov
Copy link

codecov bot commented Feb 2, 2022

Codecov Report

Merging #431 (1ff8a76) into main (a9beb47) will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff            @@
##              main      #431   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files           26        26           
  Lines          621       621           
  Branches       228       230    +2     
=========================================
  Hits           621       621           

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update a9beb47...1ff8a76. Read the comment docs.

@gnapse gnapse merged commit 43a420a into testing-library:main Feb 2, 2022
@cbroeren cbroeren deleted the patch-1 branch February 2, 2022 15:24
@github-actions
Copy link

github-actions bot commented Feb 3, 2022

🎉 This PR is included in version 5.16.2 🎉

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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants