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

Feature Requests: Negations for asymmetric matchers #5510

Closed
evan-scott-zocdoc opened this issue Feb 9, 2018 · 4 comments · Fixed by #5517
Closed

Feature Requests: Negations for asymmetric matchers #5510

evan-scott-zocdoc opened this issue Feb 9, 2018 · 4 comments · Fixed by #5517

Comments

@evan-scott-zocdoc
Copy link

evan-scott-zocdoc commented Feb 9, 2018

Do you want to request a feature or report a bug?
feature

What is the current behavior?
there's no way to test an inverse value for the expect.* helpers

What is the expected behavior?
It should be possible to negate expects like: expect.not.stringContaining('')

@anescobar1991
Copy link

Do you mean like this? :)

@evan-scott-zocdoc
Copy link
Author

Yes but that only works for expect() syntax. It doesn't work for expect.stringContaining for example.

@thymikee thymikee changed the title Feature Requests: Negations for expect helpers Feature Requests: Negations for asymmetric matchers Feb 9, 2018
@SimenB
Copy link
Member

SimenB commented Feb 10, 2018

I think that makes sense. Wanna send a PR for it?

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

Successfully merging a pull request may close this issue.

4 participants