import { ComponentFixture , TestBed , waitForAsync } from '@angular/core/testing' ; import { FormsModule } from '@angular/forms' ; import { TranslateModule } from '@ngx-translate/core' ; import { MultiselectSampleComponent } from './multiselect-sample.component' ; import { ObMultiselectModule } from 'projects/oblique/src/lib/multiselect/multiselect.module' ; describe ( 'ObMultiselectSampleComponent' , ( ) => { let component ; let fixture ; beforeEach ( waitForAsync ( ( ) => { TestBed . configureTestingModule ( { declarations : [ MultiselectSampleComponent ] , imports : [ FormsModule , TranslateModule . forRoot ( ) , ObMultiselectModule ] } ) . compileComponents ( ) ; } ) ) ; beforeEach ( ( ) => { fixture = TestBed . createComponent ( MultiselectSampleComponent ) ; component = fixture . componentInstance ; fixture . detectChanges ( ) ; } ) ; it ( 'should create' , ( ) => { expect ( component ) . toBeTruthy ( ) ; } ) ; } ) ;