Skip to content

[no-restricted-matchers] allow restricting matchers without specific modifier #1156

Closed
@d8bauxit8

Description

@d8bauxit8

Hy guys, I have an issue

If I want to restrict one of matchers except it is negated, I can't tell the config that.

For example: toHaveBeenCalled except not.toHaveBeenCalled

Can you add this little feature to no-restricted-matchers rule?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions