#Testing inject() inside a extended class
3 messages · Page 1 of 1 (latest)
3 messages · Page 1 of 1 (latest)
What happens when
providedIn: 'root' instead of providedIn: nullTestBed.inject(...) insted of TestBed.inject(EnvironmentInjector).get(...)?I get exactly the same error
Try reproducing your issue in a minimal reproduction project. Remove everything that should be unrelated to the issue.