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
Using multiple Mixin classes with Angular annotation @Component leads to failing test using jest framework #66
Comments
I'm not that familiar with Angular, but it's not clear to me how UI components could be "mixed". Don't they have to be composed in order to specify where they sit in the DOM tree? Also, |
@tannerntannern Did you see my last replay? ;) |
I have angular 17 app made using nx repo
Code in runtime works fine even if my app is powered by TS 5.2.2
For simplicity, I made below code:
When having multiple Mixin classes with @component annotation below test fails
with the following error:
if TableComponent extends multiple classes and only one has @component annotation everything works fine, problem appears when at least 2 classes have this annotation.
The weird thing is that when "zone.js": "~0.14.0" is changed to "zone.js": "~0.11.0" there are no problem but Angular 17 support only zone.js >= 14.
I'm not sure if this problem is related to Jest/TestBed or ts-mixer because everything works fine, except testing.
The text was updated successfully, but these errors were encountered: