help to register onTest mocks #334
Unanswered
evaMadrazo
asked this question in
Q&A
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.
-
Hello! I am trying to use the onTest context to define the default testing mocks. I am able to get that mocks in my tests, however, I struggle to register a new mock.
I would expect to be able to modify them in specific scenarios. Is there anything I'm missing setting up these tests, or is the .onTest context behaving differently than expected?
I setup this example. testDefault and testResolved succeed, but testRegister 1 2 3 fails.
I am using 2.5.3
Thanks in advance
Beta Was this translation helpful? Give feedback.
All reactions