import { ElementRef , Renderer2 } from '@angular/core' ; import { ModalController } from '@ionic/angular' ; import { NgxIonicImageViewerDirective } from './ngx-ionic-image-viewer.directive' ; describe ( 'NgxIonicImageViewerDirective' , ( ) => { const el = null ; const renderer = null ; const modalController = null ; it ( 'should create an instance' , ( ) => { const directive = new NgxIonicImageViewerDirective ( el , renderer , modalController ) ; expect ( directive ) . toBeTruthy ( ) ; } ) ; } ) ;