I\'m currently implementing \'unit testing\' in my angular application. However, if I run them, I receive multiple warnings/errors similar to this one: \'Error retrieving
\'Error retrieving
What you could do is install ng-mocks and use MockModule to mock the MatIconModule in your tests e.g.:
beforeEach(async(() => { TestBed.configureTestingModule({ imports: [MockModule(MatIconModule)], }).compileComponents(); }));