Skip to content

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

Open
@robertleeplummerjr

Description

@robertleeplummerjr

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions