Open damirarh opened 1 year ago
Imported comment written by James on 2022-03-17T11:06:53
Thanks for posting, it's an approach I wouldn't have thought to persue. You can also use the overrideComponent method for this scenario.
See: https://angular.io/guide/te...
Imported
URL: https://www.damirscorner.com/blog/posts/20210108-ComponentLevelServicesInAngularAndTesting.html