vitest-marbles
Version:
Marble testing helpers library for RxJs and Jest
12 lines (9 loc) • 382 B
text/typescript
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>;