-
-
Notifications
You must be signed in to change notification settings - Fork 85
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
Bug? Cannot combine @Input decorators with query decorators #181
Comments
Hi again, might you share code of XComponent, or create a min code sample with the failing test? |
Please find a sample project attached :) |
Any idea yet? @satanTime :) |
Hi, unfortunately, didn't check it yet. I'll do that latest on Sunday evening. Sorry for the delay. |
No problem, take your time :) |
Any update yet? :) |
Checking :) |
Hi, I'm investigating it deeper, I have a fix, but I want to find the cause. |
Ah cool. I was thinking it was caused by the syncfusion library, but since it only occurse during testing/mocking I doubted this. |
Yep, the way they are creating components and directives in the lib causes the issue, they use decorators in an interesting manner, but if I do a copy for testing it doesn't fail anymore. So I'll try to dig deeper for understanding of the exact cause. |
Hi, it appears that when i disable ivy for the test in my tsconfig, the tests run fine. |
Ah, that's an awesome hint! Thanks, I'll try this way. |
closes #181 Signed-off-by: MG <m@sudo.eu>
Hi again, might you check if it solves your issue? |
Works like a charm! |
Thanks for checking, I'll release the changes this week. |
A new version has been released. Thanks for the report. |
Hi,
im using your lib version 10.1.2 with angular 9.1.2 in combination with the Syncfusion angular framework.
I'm getting the following error when I run my tests:
`
`
Code looks like follows:
I'm not sure if this is caused by the mock framework or by the syncfusion library. Running the project works fine; even as building the project. This just happens when running the tests.
The text was updated successfully, but these errors were encountered: