angular test 'mat-icon' is not a known element code example
Example: 'mat-icon' is not a known element:
//In the app.module.ts
...
imports: [
...
MatIconModule,
],
//In the app.module.ts
...
imports: [
...
MatIconModule,
],