import { TestBed } from '@angular/core/testing' ; import { DashboardService } from './dashboard.service' ; describe ( 'DashboardService' , ( ) => { let dashboardService ; beforeEach ( ( ) => { TestBed . configureTestingModule ( { providers : [ DashboardService ] , } ) ; dashboardService = TestBed . inject ( DashboardService ) ; } ) ; describe ( 'getDashboard$' , ( ) => { it ( 'should return Observable<Dashboard>' , ( ) => { dashboardService . getDashboard$ ( ) . subscribe ( response => { expect ( response ) . toEqual ( { } ) ; } ) ; } ) ; } ) ; } ) ;