-
Notifications
You must be signed in to change notification settings - Fork 91
Angular 14 support #296
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
Comments
I did not test it but maybe it helps to set |
Hi, sadly I didn't have the bandwidth to proactively test ATL with standalone components. |
Do you accept PRs? There is an |
I opened a PR which upgrades to v14 and fixes the |
Great, thanks @jadengis (of course PRs are more than welcome, thanks for that!). |
🎉 This issue has been resolved in version 12.0.0 🎉 The release is available on: Your semantic-release bot 📦🚀 |
Description
Currently standalone components, directives and pipes cannot be tested because they are automatically added to the
declarations
portion when configuring TestBed internally. Angular throws an error when trying to declare a standalone component.Proposed solution
Add the component/directive/pipe-under-test to the imports section of
TestBed.configureTestingModule
if the component is standalone.Alternatives considered
There isn't really a way to work around this.
The text was updated successfully, but these errors were encountered: