Using jest.spyOn and mockReturnValue #8476
Unanswered
GarryCummins-Q4
asked this question in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Can I use the jest spyOn and mockReturnValue with this library? I am trying to mock a returnValue but it throws a TS error regardless of what I add.
If it does then what should the mocked return value look like?
Beta Was this translation helpful? Give feedback.
All reactions