import { TestBed , inject } from '@angular/core/testing' ; import { DownloaderService } from './downloader.service' ; describe ( 'DownloaderService' , ( ) => { beforeEach ( ( ) => { TestBed . configureTestingModule ( { providers : [ DownloaderService ] } ) ; } ) ; it ( 'should ...' , inject ( [ DownloaderService ] , ( service ) => { expect ( service ) . toBeTruthy ( ) ; } ) ) ; } ) ;