import { configure } from "rxjs-marbles/jasmine" ; import { delay } from "rxjs/operators" ; const { marbles } = configure ( { run : false } ) ; describe ( "reframe" , ( ) => { it ( "should support reframing" , marbles ( m => { m . reframe ( 100 , 10000 ) ; const duration = m . time ( "--|" ) ; expect ( duration ) . toEqual ( 200 ) ; const source = m . cold ( "   --(a|)" ) ; const expected = m . cold ( " ----(a|)" ) ; m . expect ( source . pipe ( delay ( duration , m . scheduler ) ) ) . toBeObservable ( expected ) ; } ) ) ; } ) ;