How to use the TestScheduler function from rxjs
Find comprehensive JavaScript rxjs.TestScheduler code examples handpicked from public code repositorys.
GitHub: dhis2/d2-ui

130 131 132 133 134 135 136 137 138 139
var it = context.it = context.specify = function (title, fn) { context.rxTestScheduler = null; var modified = fn; if (fn && fn.length === 0) { modified = function () { context.rxTestScheduler = new Rx.TestScheduler(observableMatcher); try { fn(); context.rxTestScheduler.flush(); }
+ 9 other calls in file