Skip to content
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

fix: flatten component providers for consistency to the framework #507

Merged

Conversation

lacolaco
Copy link
Contributor

@lacolaco lacolaco commented Dec 13, 2024

Close #506

fyi: In contrast to componentProviders, providers is just passed into TestBed's module configuration. So it is treated by Angular itself and flattened correctly.

Copy link
Member

@timdeschryver timdeschryver left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @lacolaco !

@timdeschryver timdeschryver merged commit d59e4f2 into testing-library:main Dec 14, 2024
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

bug: componentProviders failed on nested array providers
2 participants