UNPKG

rxjs-marbles

Version:

An RxJS marble testing library for any test framework

11 lines (10 loc) 506 B
import { fakeAsync, tick } from "@angular/core/testing"; import { fakeSchedulers as _fakeSchedulers } from "../fake"; export function fakeSchedulers(fakeTest) { return fakeAsync(_fakeSchedulers(() => { return fakeTest((milliseconds) => { console.log("The tick parameter passed to the fakeSchedulers test is deprecated; call the @angular/core/testing tick function instead. See the examples for the intended usage."); tick(milliseconds); }); })); }