Replies: 1 comment
-
Still relevant. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
According to TypeScript typing, it looks like the Jest mock implementation delivered by this package is incomplete.
Using the following code (similar to the example in the docs):
This results in the following error:
Error log.
The work-around is to remove the typed mock, but I prefer not to do that:
I tried also to use
Partial
, but that gave a similar error:Does this count as a bug?
Beta Was this translation helpful? Give feedback.
All reactions