expect.any(..) is of type Any instead of any #804
-
Vitest |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 5 replies
-
This is an error on our side. All asymmetric matchers should be |
Beta Was this translation helpful? Give feedback.
-
Actually, jest returns |
Beta Was this translation helpful? Give feedback.
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! :)