Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

toContainOneOf([string1, string2, string3]) would be nice #679

Open
robertleeplummerjr opened this issue Mar 13, 2024 · 0 comments
Open

Comments

@robertleeplummerjr
Copy link

robertleeplummerjr commented Mar 13, 2024

Feature Request

Description: It would be very nice to do something like expect(text).toContainOneOf([string1, string2, string3]). My current solution involves regex.test, and gives little information about the scenario. This seems like (to me) a natural matcher as part of the already added matchers in this project, like toBeOneOf.

Possible solution: I don't have any solutions at this time.

@robertleeplummerjr robertleeplummerjr changed the title toContainOneOf([string1, string2, string 3]) would be nice toContainOneOf([string1, string2, string3]) would be nice Mar 13, 2024
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant