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

Small error in documentation for expect.not.arrayContaining #6432

Closed
mattiasahlsen opened this issue Jun 10, 2018 · 2 comments · Fixed by #6491
Closed

Small error in documentation for expect.not.arrayContaining #6432

mattiasahlsen opened this issue Jun 10, 2018 · 2 comments · Fixed by #6491

Comments

@mattiasahlsen
Copy link
Contributor

mattiasahlsen commented Jun 10, 2018

🐛 Bug Report

Small error in documentation at https://facebook.github.io/jest/docs/en/expect.html#expectnotarraycontainingarray:

expect.not.arrayContaining(array) matches a received array which contains none of the elements in the expected array

It should be:

expect.not.arrayContaining(array) matches a received array which does not contain all of the elements in the expected array

Am I right about this? If so, I would love to fix it. It would be my first contribution to any open source project on github.

@rickhanlonii
Copy link
Member

Makes sense, go ahead and send it @mattiasahlsen!

rickhanlonii pushed a commit that referenced this issue Aug 15, 2018
#6491)

* Fixed small error in documentation for expect.not.arrayContaining(array). Fixes #6432.

* Added pull request #6491 to changelog.
@github-actions
Copy link

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
Please note this issue tracker is not a help forum. We recommend using StackOverflow or our discord channel for questions.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators May 12, 2021
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 a pull request may close this issue.

2 participants