Open EvilBeaver opened 1 year ago
when(transportSpy.onServerMessage(anyOfClass(ServerMessage))) .thenCall((message: DebuggerMessage) => { receivedMessages.push(message); });
I'm intercepting call on class using spy. I want to original implementation being called after my spy is called. How to make this? In Java mockito we have thenCallRealMethod() but I can't find it in ts-mockito.
thenCallRealMethod()
I'm intercepting call on class using spy. I want to original implementation being called after my spy is called. How to make this? In Java mockito we have
thenCallRealMethod()
but I can't find it in ts-mockito.