import { ComponentFixture , TestBed , waitForAsync } from '@angular/core/testing' ; import * as ionic from '@ionic/angular' ; import { MockComponents } from 'ng-mocks' ; import { FabSheetComponent } from './fab-sheet.component' ; describe ( 'FabSheetComponent' , ( ) => { let component ; let fixture ; beforeEach ( waitForAsync ( ( ) => { TestBed . configureTestingModule ( { declarations : [ FabSheetComponent , MockComponents ( ionic . IonFab , ionic . IonFabButton , ionic . IonFabList , ionic . IonBackdrop ) , ] , } ) . compileComponents ( ) ; } ) ) ; beforeEach ( ( ) => { fixture = TestBed . createComponent ( FabSheetComponent ) ; component = fixture . componentInstance ; fixture . detectChanges ( ) ; } ) ; it ( 'should create' , ( ) => { expect ( component ) . toBeTruthy ( ) ; } ) ; } ) ;