UNPKG

vitest-marbles

Version:

Marble testing helpers library for RxJs and Jest

12 lines (11 loc) 471 B
import { Observable } from 'rxjs'; import { TestScheduler } from 'rxjs/testing'; import { SubscriptionLog } from '../rxjs/types'; export declare class HotObservable extends Observable<any> { marbles: string; values?: Record<string, any> | undefined; error?: any; source: ReturnType<TestScheduler['createHotObservable']>; constructor(marbles: string, values?: Record<string, any> | undefined, error?: any); getSubscriptions(): SubscriptionLog[]; }