UNPKG

jest-codemods

Version:

Codemods for migrating test files to Jest

39 lines (38 loc) 1.13 kB
export declare const PROP_WITH_SECONDS_ARGS: string[]; export declare const JEST_MATCHER_TO_MAX_ARGS: { toBe: number; toBeCalled: number; toBeCalledTimes: number; toBeCalledWith: number; toBeLastCalledWith: number; toBeCloseTo: number; toBeDefined: number; toBeFalsy: number; toBeGreaterThan: number; toBeGreaterThanOrEqual: number; toBeInstanceOf: number; toBeLessThan: number; toBeLessThanOrEqual: number; toBeNaN: number; toBeNull: number; toBeTruthy: number; toBeUndefined: number; toContain: number; toContainEqual: number; containsMatchingElement: number; toEqual: number; toHaveBeenCalled: number; toHaveBeenCalledTimes: number; toHaveBeenCalledWith: number; toHaveBeenLastCalledWith: number; toHaveLength: number; toHaveProperty: number; toMatch: number; toMatchObject: number; toMatchSnapshot: number; toThrow: number; toThrowError: number; toThrowErrorMatchingSnapshot: number; }; export declare const JEST_MOCK_PROPERTIES: Set<string>; export declare const JEST_GLOBALS: Set<string>;