I am quite confused with mocking in Jest an how to unit test the implementations. The thing is i want to mock different expected behaviours.
Is there any way to ach
spyOn worked best for us. See previous answer:
spyOn
https://stackoverflow.com/a/54361996/1708297