import { cold , hot } from 'jest-marbles' ; import { ColdObservable } from 'jest-marbles/typings/src/rxjs/cold-observable' ; import { HotObservable } from 'jest-marbles/typings/src/rxjs/hot-observable' ; export class MarblesHelper { constructor ( public marbles , public values ? , public error ? ) { } setMarbles ( marbles , values ? , error ? ) { this . marbles = marbles ; this . values = values ; this . error = error ; } hot ( ) { return hot ( this . marbles , this . values , this . error ) ; } cold ( ) { return cold ( this . marbles , this . values , this . error ) ; } }