Skip to content

anyOfType Matcher #228

Description

@marimilch

It might be useful to add a matcher for type aliases, so it can be used like this:

type myType = { hadouken: string; shoryuken: number }
when(foo.bar(anyOfType(myType)).thenReturn(true)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions