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
Assume there is a MyService class that depends on the MyRepository interface.
MyService
MyRepository
When testing the MyService, if possible to mock the dependencies.
I have tried jest-mock-extended and ts-mockito, both worked. Not sure there is an approach with this simple ts-jest utils.
jest-mock-extended
ts-mockito
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Assume there is a
MyService
class that depends on theMyRepository
interface.When testing the
MyService
, if possible to mock the dependencies.I have tried
jest-mock-extended
andts-mockito
, both worked. Not sure there is an approach with this simple ts-jest utils.The text was updated successfully, but these errors were encountered: