Failed: Can't resolve all parameters for MatDialogRef: (?, ?, ?). unit testing Angular project
问题 I am new to angular development and more new towards unit testing using jasmine. I have created a component to sow a dialog using angular material MatDialogRef, MAT_DIALOG_DATA from @angular/material. The component is working fine but the Unit testing is giving me an error which i am not able to resolve. I really need this to work and any help would be appreciated.... Thanks in advance..!!! Please find my code below: app.module.ts import { BrowserModule } from '@angular/platform-browser';