-
-
Notifications
You must be signed in to change notification settings - Fork 77
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
ngMocks.guts() does not create mocks for declarables exported from other modules #241
Comments
Hi @wvankoppen, thanks for the report, a good catch, its fix will be release with the next version. |
Hi @wvankoppen, I hope this finds you well. might you verify the fix? ng-mocks.zip Thanks in advance! |
Hi @satanTime, Thanks for your quick reply! Regards Wouter |
Hi @vespertilian, thanks for the feedback. It will be released on Saturday / Sunday. |
Wonderful, thanks! |
v11.2.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. |
chore(deps): update dependency ts-node to v9.1.1
ngMocks.guts() does not create mocks for declarables exported from other modules.
This happens when a module is imported that exports a declarable (a component, directive or pipe) that it does not declare in itself.
This leads to the following error:
Error: Can't export pipe MockOfTranslatePipe from MockOfMyTranslateModule as it was neither declared nor imported!
Reproduction steps:
The text was updated successfully, but these errors were encountered: