-
-
Notifications
You must be signed in to change notification settings - Fork 76
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
Support selector-less components #266
Comments
Hi again! Thanks for the report! I'll fix it during the next days. Happy New Year and happy coding! |
Hi @GerkinDev, might you confirm it works as you expect? ng-mocks.zip |
v11.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. |
Ahaha, thanks :) Sure, no rush here, I have the same feelings that the issue has been fixed. Just need an extra proof once you have time. Thanks in advance and happy coding! |
v11.3.1 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. |
Hi again, I can confirm this works in my real-life situation ! 🎉 Thank you so much, happy new year ! 🎉🎉🎉 |
Hey there ! It's me again.
By fooling around with ng-mocks in my app's tests, I've found that ng-mocks does not correctly set the fixture's
point
property correctly if the tested component has no selector (like a page-only component).Here is the failing test case:
I've found a way to go around this issue like so (this test works)
🍻 cheers !
The text was updated successfully, but these errors were encountered: