Replies: 1 comment 3 replies
-
You can look through this code example, module A would be aptogotchi.move and module B would be food.move: As for mocking you can create a |
Beta Was this translation helpful? Give feedback.
3 replies
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.
-
Hi, Is there a way to mock function calls to write unit tests?
Let's say module A calls module B, and I want to test module A only. Is there a way to mock calls to module B such that tests can be isolated?
Beta Was this translation helpful? Give feedback.
All reactions