We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I am not sure if this is an error or a feature request, so I did not trusted my self to do a PR
The definition for reset is:
reset
ts-mockito/src/ts-mockito.ts
Lines 76 to 79 in 6637048
That means, that we can just use multiple mocks if they have the same type. Is this the expected behavior? I thought the idea was to be able to do:
const mock1 = mock(MyWonderClass); const mock2 = mock(ThisIsAnotherClass); reset(mock1, mock2)
as workaround one can set the reset as any but this feels dirty
any
reset<any>(mock1, mock2)
The text was updated successfully, but these errors were encountered:
This certainly seems like a mistake with the types.
Sorry, something went wrong.
No branches or pull requests
I am not sure if this is an error or a feature request, so I did not trusted my self to do a PR
The definition for
reset
is:ts-mockito/src/ts-mockito.ts
Lines 76 to 79 in 6637048
That means, that we can just use multiple mocks if they have the same type. Is this the expected behavior? I thought the idea was to be able to do:
as workaround one can set the reset as
any
but this feels dirtyThe text was updated successfully, but these errors were encountered: