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

Feature Request: A15 should keep root providers if MockBuilder is used with chains #4701

Open
satanTime opened this issue Jan 15, 2023 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@satanTime
Copy link
Member

Describe the feature or problem you'd like to solve

Since Angular 15, many module providers become root providers and because there is not an easy way to detect which provider belongs to what module, quite often it can confuse.

For example, here: #4700

Proposed solution

NG_MOCKS_ROOT_PROVIDERS should be .keep if MockBuilder has been called with less than 2 parameters.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant