vitest-marbles
Version:
Marble testing helpers library for RxJs and Jest
12 lines (11 loc) • 473 B
TypeScript
import { Observable } from 'rxjs';
import { TestScheduler } from 'rxjs/testing';
import { SubscriptionLog } from '../rxjs/types';
export declare class ColdObservable extends Observable<any> {
marbles: string;
values?: Record<string, any> | undefined;
error?: any;
source: ReturnType<TestScheduler['createColdObservable']>;
constructor(marbles: string, values?: Record<string, any> | undefined, error?: any);
getSubscriptions(): SubscriptionLog[];
}