While performing tdd using the Angular CLI, I have come across this exception a few times.  In most cases this is caused by a missing import.  The Angular CLI kicks off a test before an import has been added to the component (or service, etc).  If you have the benefit of an IDE, check that it has not highlighted a problem with one of your imports.
The full exception is:
 
No comments:
Post a Comment