Skip to content

Fix wrong toHaveValue example - #431

Merged
gnapse merged 1 commit into
testing-library:mainfrom
cbroeren:patch-1
Feb 2, 2022
Merged

gnapse merged 1 commit into
testing-library:mainfrom
cbroeren:patch-1

Conversation

@cbroeren

Copy link
Copy Markdown
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

gnapse commented Feb 2, 2022

Copy link
Copy Markdown
Member

@all-contributors please add @cbroeren for docs

@allcontributors

Copy link
Copy Markdown
Contributor

@gnapse

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

@codecov

codecov Bot commented Feb 2, 2022 •

Copy link
Copy Markdown

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

github-actions Bot commented Feb 3, 2022

Copy link
Copy Markdown

🎉 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.

2 participants