UNPKG

@rxjs-stuff/marbles

Version:

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

16 lines (12 loc) 376 B
import 'chai' declare global { export namespace Chai { interface Assertion { subscribedWith(...subscriptionMarbles: string[]): Assertion subscription(subscriptionMarbles: string): Assertion marbleValues(values: any): Assertion originalContext(context: any): Assertion verifyError(callbackFn: (err: Error) => void): Assertion } } }