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
Say we have a module X, and a module Y with a dependency on X. In the testing module, X is imported with some providers in the testing module, in module Y it is not. Consequently, the providers should be available in the testing module. But now, say we have a combination of real components and fake components (so that the "magic" in
Description of the bug
Say we have a module X, and a module Y with a dependency on X. In the testing module, X is imported with some providers in the testing module, in module Y it is not. Consequently, the providers should be available in the testing module. But now, say we have a combination of real components and fake components (so that the "magic" in
ng-mocks/libs/ng-mocks/src/lib/common/ng-mocks-global-overrides.ts
Line 214 in 35aa7f1
An example of the bug
Link: https://stackblitz.com/edit/angular-ivy-fgudvv?file=src%2Fapp%2Fapp.component.spec.ts
Expected vs actual behavior
Expected behavior: FooComponent can be created.
Actual behavior: FooComponent cannot be created because no provider for MyService is found.
The text was updated successfully, but these errors were encountered: