You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Stumbled across the same problem. I guess it has to do with limitations of the transformers ability to analyze generic types that are coming from somewhere else.
It would be nice though, being able to wrap createMock()/createHydratedMock() in my own factory methods.
That is correct! Ts auto mock needs to find a CreateMock with a type! It could be that is possible to achieve what you are descrivibing but it requires some investigation and re work!
I'm trying to pass interface to createMock using a generic parameter and it raises a weird error on a weird place!
For example this is my test:
It generates this error on a wrong line!:
But there is no
t
variable in my codeThis is the full error:
The text was updated successfully, but these errors were encountered: