You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
● AppComponent › should render title
Component 'AppComponent' is not resolved:
- templateUrl: ./app.component.html
- styleUrls: ["./app.component.css"]
Did you run and wait for 'resolveComponentResources()'?
Additional context
With Angular 14.2.0 having been released, they have added support for TS 4.8.2.
However, when using TS 4.8.2 with jest-preset-angular 12.2.0, it results in test failures due to unresolved components.
It's worth noting that jest-preset-angular 12.2.0 works correctly with TS 4.7.2.
Version
12.2.0
Steps to reproduce
Expected behavior
Tests should pass correctly
Actual behavior
Tests fail with the following error:
Additional context
With Angular 14.2.0 having been released, they have added support for TS 4.8.2.
However, when using TS 4.8.2 with jest-preset-angular 12.2.0, it results in test failures due to unresolved components.
It's worth noting that jest-preset-angular 12.2.0 works correctly with TS 4.7.2.
Environment
The text was updated successfully, but these errors were encountered: