I\'m getting following error when I try to test an angular component:
Error while running jest tests:
Can\'t bind to \'matMenuTriggerFor\' since it i
I was getting this error while running jest test. I had to add MatMenuModule in the import array of TestBed.configureTestingModule to resolve this error.
jest
MatMenuModule
TestBed.configureTestingModule