import { ComponentFixture , TestBed , waitForAsync } from '@angular/core/testing' ; import { FormsModule , ReactiveFormsModule } from '@angular/forms' ; import { FormControlStateSampleComponent } from './form-control-state-sample.component' ; import { ObliqueTestingModule } from '@oblique/oblique' ; describe ( 'ObFormControlStateSampleComponent' , ( ) => { let component ; let fixture ; beforeEach ( waitForAsync ( ( ) => { TestBed . configureTestingModule ( { declarations : [ FormControlStateSampleComponent ] , imports : [ FormsModule , ReactiveFormsModule , ObliqueTestingModule ] } ) . compileComponents ( ) ; } ) ) ; beforeEach ( ( ) => { fixture = TestBed . createComponent ( FormControlStateSampleComponent ) ; component = fixture . componentInstance ; fixture . detectChanges ( ) ; } ) ; it ( 'should create' , ( ) => { expect ( component ) . toBeTruthy ( ) ; } ) ; } ) ;