import { ComponentFixture , TestBed } from '@angular/core/testing' ; import { MatomoModule } from 'ngx-matomo' ; import { MediaComponent } from './media.component' ; describe ( 'MediaComponent' , ( ) => { let component ; let fixture ; beforeEach ( async ( ) => { await TestBed . configureTestingModule ( { imports : [ MatomoModule . forRoot ( { } ) ] , declarations : [ MediaComponent ] , } ) . compileComponents ( ) ; } ) ; beforeEach ( ( ) => { fixture = TestBed . createComponent ( MediaComponent ) ; component = fixture . componentInstance ; fixture . detectChanges ( ) ; } ) ; it ( 'should create' , ( ) => { expect ( component ) . toBeTruthy ( ) ; } ) ; } ) ;