When running my Karma tests, I get lots of errors (which are in fact warnings) like this:
ERROR: 'NG0304: 'fa-icon' is not a known element:
1. If 'fa-icon' is an Angular component, then verify that it is part of this module.
2. If 'fa-icon' is a Web Component then add 'CUSTOM_ELEMENTS_SCHEMA' to the '@NgModule.schemas' of this component to suppress this message.'
Now, this is easy to fix once you know which component complains about the unknown element. The problem is the application has dozens of them and Karma's output doesn't provide any clue as to where the problem arises.
How can I find out which component causes the error, without needing to selectively run tests against each of them?