jest-marbles
Version:
Marble testing helpers library for RxJs and Jest
13 lines (12 loc) • 448 B
TypeScript
/// <reference types="jest" />
import { TestMessages, SubscriptionLog } from '../rxjs/types';
export declare const customTestMatchers: jest.ExpectExtendMap;
declare global {
namespace jest {
interface Matchers<R extends void | Promise<void>> {
toBeNotifications(notifications: TestMessages): R;
toBeSubscriptions(subscriptions: SubscriptionLog[]): R;
toHaveEmptySubscriptions(): R;
}
}
}