import { TestBed } from '@angular/core/testing' ; import { ChartsService } from './charts.service' ; describe ( 'ChartsService' , ( ) => { let chartsService ; beforeEach ( ( ) => { TestBed . configureTestingModule ( { providers : [ ChartsService ] , } ) ; chartsService = TestBed . inject ( ChartsService ) ; } ) ; describe ( 'getCharts$' , ( ) => { it ( 'should return Observable<Charts>' , ( ) => { chartsService . getCharts$ ( ) . subscribe ( response => { expect ( response ) . toEqual ( { } ) ; } ) ; } ) ; } ) ; } ) ;