Skip to content

expect.any(..) is of type Any instead of any #804

Answered by sheremet-va
medihack asked this question in Q&A
Discussion options

You must be logged in to vote

This is an error on our side. All asymmetric matchers should be any, so they could be used as a replacement in an object.
PR welcome! :)

Replies: 2 comments 5 replies

Comment options

You must be logged in to vote
1 reply
@medihack
Comment options

Answer selected by medihack
Comment options

You must be logged in to vote
4 replies
@medihack
Comment options

@TrickyPi
Comment options

@medihack
Comment options

@TrickyPi
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants