jest-codemods
Version:
Codemods for migrating test files to Jest
8 lines (7 loc) • 656 B
TypeScript
export declare const createCallUtil: (j: any) => (fnName: string, args: any, rest: any, containsNot?: boolean) => any;
export declare const chainContainsUtil: (j: any) => (fnName: any, node: any, end: any) => boolean;
export declare const getNodeBeforeMemberExpressionUtil: (j: any) => (equalsMemberName: any, node: any, end: any) => any;
export declare const getExpectNodeUtil: (j: any) => (node: any) => any;
export declare const updateExpectUtil: (j: any) => (node: any, fn: (a: any) => any) => any;
export declare const createCallChainUtil: (j: any) => (chain: any, args: any) => any;
export declare const isExpectCallUtil: (j: any, node: any) => any;