UNPKG

rxjs-marbles-with-amd

Version:

Forked version of (https://github.com/cartant/rxjs-marbles) An RxJS marble testing library for any test framework

11 lines (10 loc) 508 B
import { fakeAsync, tick } from "@angular/core/testing"; import { fakeSchedulers as _fakeSchedulers } from "../fake"; export function fakeSchedulers(fakeTest) { return fakeAsync(_fakeSchedulers(function () { return fakeTest(function (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); }); })); }