@zendesk/laika
Version:
Test, mock, intercept and modify Apollo Client's operations — in both browser and unit tests!
4 lines (3 loc) • 309 B
TypeScript
import type { Matcher, MatcherFn, OperationObserverCallback, Result, Variables } from './typedefs';
export declare const getMatcherFn: (matcher?: Matcher | undefined) => MatcherFn;
export declare const getEmitValueFn: (result: Result<Variables>, matcher?: MatcherFn | undefined) => OperationObserverCallback;