UNPKG

@miller-svt/jest-marbles

Version:

Marble testing helpers library for RxJs and Jest

10 lines (9 loc) 380 B
import { TestScheduler } from 'rxjs/testing'; /** * Exported return type of TestMessage[] to avoid importing internal APIs. */ export type TestMessages = ReturnType<typeof TestScheduler.parseMarbles>; /** * Exported return type of SubscriptionLog to avoid importing internal APIs. */ export type SubscriptionLog = ReturnType<typeof TestScheduler.parseMarblesAsSubscriptions>;