import { async , ComponentFixture , TestBed } from '@angular/core/testing' ; import { FormsModule , ReactiveFormsModule } from '@angular/forms' ; import { MAT_DIALOG_DATA , MatAutocompleteModule , MatDialogModule , MatDialogRef , MatDividerModule , MatExpansionModule , MatIconModule , MatInputModule , MatSelectModule } from '@angular/material' ; import { BrowserAnimationsModule } from '@angular/platform-browser/animations' ; import { ElectronService } from 'ngx-electron' ; import { ConfigureConceptComponent } from './configure-concept.component' ; describe ( 'ConfigureConceptComponent' , ( ) => { let component ; let fixture ; beforeEach ( async ( ( ) => { TestBed . configureTestingModule ( { declarations : [ ConfigureConceptComponent ] , imports : [ BrowserAnimationsModule , FormsModule , ReactiveFormsModule , MatAutocompleteModule , MatDialogModule , MatDividerModule , MatExpansionModule , MatIconModule , MatInputModule , MatSelectModule ] , providers : [ ElectronService , { provide : MAT_DIALOG_DATA , useValue : { } } , { provide : MatDialogRef , useValue : { } } ] } ) . compileComponents ( ) ; } ) ) ; beforeEach ( ( ) => { fixture = TestBed . createComponent ( ConfigureConceptComponent ) ; component = fixture . componentInstance ; fixture . detectChanges ( ) ; } ) ; it ( 'should create' , ( ) => { expect ( component ) . toBeTruthy ( ) ; } ) ; } ) ;