New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Why we need "instance()"? #87
Comments
Hi @ilbonte yes this is technical limitation. I can't find any way to get rid of |
Thanks, @NagRock. Coming from Mockito, I was confused on this as well when first looking at the Readme. Might be good to add to the Readme that this is a technical limitation. |
It was confusing to me as well -- A mention in the documentation would be nice. |
@killdash9 you're right. Currently I'm trying to get some solution to avoid using |
Hi, I'm trying to understand why we need a separate function (
instance()
) to get an instance of a mocked class, since in the original (Java) version of mockito,mock()
returns an instantiated object.There is some technical limitation in Typesctipt?
The text was updated successfully, but these errors were encountered: