import { Injectable } from '@angular/core' ; import { Observable , of } from 'rxjs' ; import { ObISpinnerEvent } from '../spinner.model' ; @ Injectable ( ) export class ObMockSpinnerService { static CHANNEL = 'default' ; get events ( ) : Observable < ObISpinnerEvent > { return of ( { } as ObISpinnerEvent ) ; } activate ( channel ? ) { } deactivate ( channel ? ) { } forceDeactivate ( channel ? ) { } }