How to use the cyclejs.Rx.ReactiveTest function in cyclejs

To help you get started, we’ve selected a few cyclejs examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github erykpiast / cyclejs-mock / src / inject-testing-utils.js View on Github external
Object.keys(observables).forEach((name) => {
            if(observables[name] instanceof Rx.Observable) {
                providedArgs[name] = observables[name];
            } else {
                providedArgs[name] = createObservable(
                    Rx.ReactiveTest.onNext(11, observables[name])
                );
            }
        });
github erykpiast / cyclejs-mock / src / inject-testing-utils.js View on Github external
        .define('onNext', (...args) => Rx.ReactiveTest.onNext(...args))
        .define('onCompleted', (...args) => Rx.ReactiveTest.onCompleted(...args))
github erykpiast / autocompleted-select / src / js / spec / mock.js View on Github external
    injector.define('onNext', (...args) => Rx.ReactiveTest.onNext(...args));