import { createServiceFactory , SpectatorService } from '@ngneat/spectator' ; import { ChartConfigService } from './chart-config.service' ; describe ( 'ChartConfigService' , ( ) => { let service ; let spectator ; const createService = createServiceFactory ( { service : ChartConfigService , } ) ; beforeEach ( ( ) => { spectator = createService ( ) ; service = spectator . service ; } ) ; it ( 'should be created' , ( ) => { expect ( service ) . toBeTruthy ( ) ; } ) ; } ) ;