Skip to content
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

cover jest import mock with a fake declarations #760

Closed
satanTime opened this issue Jun 30, 2021 · 1 comment · Fixed by #783
Closed

cover jest import mock with a fake declarations #760

satanTime opened this issue Jun 30, 2021 · 1 comment · Fixed by #783

Comments

@satanTime
Copy link
Member

satanTime commented Jun 30, 2021

jest.mock('./bla/bla.module.ts')

The idea is to test how it behaves and to add a proper error message which would lead the developer to the proper solution.

satanTime added a commit that referenced this issue Jul 3, 2021
fix(jest): better detection and error reporting of jest.mock #760
@satanTime
Copy link
Member Author

v12.3.0 has been released and contains a fix for the issue. Feel free to reopen the issue or to submit a new one if you meet any problems.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant