Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

angular MatDialogRef spec

Import {MatdialogModule,MatDialogRef} from '@angular/material/dialog';

TestBed.configureTestingModule({
declarations: [componentName],
imports: [MatdialogModule],
providers: [{provide : MatDialogRef, useValue : {}}]
});
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #angular #MatDialogRef #spec
ADD COMMENT
Topic
Name
6+1 =