UNPKG

@rxjs-stuff/marbles

Version:

A set of plugins that provide a natural feeling integration with Mocha and Chai for RxJS "marbles" testing.

7 lines (6 loc) 308 B
import { MonoTypeOperatorFunction } from 'rxjs'; /** * Operator that collects any errors emitted by the observable and adds them to the specified errors array * @param errors - The array used to collect the errors */ export declare function collectErrors<T>(errors: Error[]): MonoTypeOperatorFunction<T>;