Created
May 19, 2020 03:34
-
-
Save benweizhu/782a8e946a1ae2b0af6a104d6fc2776b to your computer and use it in GitHub Desktop.
expect api
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
not: { | |
toBe: [Function: throwingMatcher], | |
toBeCloseTo: [Function: throwingMatcher], | |
toBeDefined: [Function: throwingMatcher], | |
toBeFalsy: [Function: throwingMatcher], | |
toBeGreaterThan: [Function: throwingMatcher], | |
toBeGreaterThanOrEqual: [Function: throwingMatcher], | |
toBeInstanceOf: [Function: throwingMatcher], | |
toBeLessThan: [Function: throwingMatcher], | |
toBeLessThanOrEqual: [Function: throwingMatcher], | |
toBeNaN: [Function: throwingMatcher], | |
toBeNull: [Function: throwingMatcher], | |
toBeTruthy: [Function: throwingMatcher], | |
toBeUndefined: [Function: throwingMatcher], | |
toContain: [Function: throwingMatcher], | |
toContainEqual: [Function: throwingMatcher], | |
toEqual: [Function: throwingMatcher], | |
toHaveLength: [Function: throwingMatcher], | |
toHaveProperty: [Function: throwingMatcher], | |
toMatch: [Function: throwingMatcher], | |
toMatchObject: [Function: throwingMatcher], | |
toStrictEqual: [Function: throwingMatcher], | |
lastCalledWith: [Function: throwingMatcher], | |
lastReturnedWith: [Function: throwingMatcher], | |
nthCalledWith: [Function: throwingMatcher], | |
nthReturnedWith: [Function: throwingMatcher], | |
toBeCalled: [Function: throwingMatcher], | |
toBeCalledTimes: [Function: throwingMatcher], | |
toBeCalledWith: [Function: throwingMatcher], | |
toHaveBeenCalled: [Function: throwingMatcher], | |
toHaveBeenCalledTimes: [Function: throwingMatcher], | |
toHaveBeenCalledWith: [Function: throwingMatcher], | |
toHaveBeenLastCalledWith: [Function: throwingMatcher], | |
toHaveBeenNthCalledWith: [Function: throwingMatcher], | |
toHaveLastReturnedWith: [Function: throwingMatcher], | |
toHaveNthReturnedWith: [Function: throwingMatcher], | |
toHaveReturned: [Function: throwingMatcher], | |
toHaveReturnedTimes: [Function: throwingMatcher], | |
toHaveReturnedWith: [Function: throwingMatcher], | |
toReturn: [Function: throwingMatcher], | |
toReturnTimes: [Function: throwingMatcher], | |
toReturnWith: [Function: throwingMatcher], | |
toThrow: [Function: throwingMatcher], | |
toThrowError: [Function: throwingMatcher], | |
toMatchInlineSnapshot: [Function: throwingMatcher], | |
toMatchSnapshot: [Function: throwingMatcher], | |
toThrowErrorMatchingInlineSnapshot: [Function: throwingMatcher], | |
toThrowErrorMatchingSnapshot: [Function: throwingMatcher] | |
}, | |
rejects: { | |
not: { | |
toBe: [Function], | |
toBeCloseTo: [Function], | |
toBeDefined: [Function], | |
toBeFalsy: [Function], | |
toBeGreaterThan: [Function], | |
toBeGreaterThanOrEqual: [Function], | |
toBeInstanceOf: [Function], | |
toBeLessThan: [Function], | |
toBeLessThanOrEqual: [Function], | |
toBeNaN: [Function], | |
toBeNull: [Function], | |
toBeTruthy: [Function], | |
toBeUndefined: [Function], | |
toContain: [Function], | |
toContainEqual: [Function], | |
toEqual: [Function], | |
toHaveLength: [Function], | |
toHaveProperty: [Function], | |
toMatch: [Function], | |
toMatchObject: [Function], | |
toStrictEqual: [Function], | |
lastCalledWith: [Function], | |
lastReturnedWith: [Function], | |
nthCalledWith: [Function], | |
nthReturnedWith: [Function], | |
toBeCalled: [Function], | |
toBeCalledTimes: [Function], | |
toBeCalledWith: [Function], | |
toHaveBeenCalled: [Function], | |
toHaveBeenCalledTimes: [Function], | |
toHaveBeenCalledWith: [Function], | |
toHaveBeenLastCalledWith: [Function], | |
toHaveBeenNthCalledWith: [Function], | |
toHaveLastReturnedWith: [Function], | |
toHaveNthReturnedWith: [Function], | |
toHaveReturned: [Function], | |
toHaveReturnedTimes: [Function], | |
toHaveReturnedWith: [Function], | |
toReturn: [Function], | |
toReturnTimes: [Function], | |
toReturnWith: [Function], | |
toThrow: [Function], | |
toThrowError: [Function], | |
toMatchInlineSnapshot: [Function], | |
toMatchSnapshot: [Function], | |
toThrowErrorMatchingInlineSnapshot: [Function], | |
toThrowErrorMatchingSnapshot: [Function] | |
}, | |
toBe: [Function], | |
toBeCloseTo: [Function], | |
toBeDefined: [Function], | |
toBeFalsy: [Function], | |
toBeGreaterThan: [Function], | |
toBeGreaterThanOrEqual: [Function], | |
toBeInstanceOf: [Function], | |
toBeLessThan: [Function], | |
toBeLessThanOrEqual: [Function], | |
toBeNaN: [Function], | |
toBeNull: [Function], | |
toBeTruthy: [Function], | |
toBeUndefined: [Function], | |
toContain: [Function], | |
toContainEqual: [Function], | |
toEqual: [Function], | |
toHaveLength: [Function], | |
toHaveProperty: [Function], | |
toMatch: [Function], | |
toMatchObject: [Function], | |
toStrictEqual: [Function], | |
lastCalledWith: [Function], | |
lastReturnedWith: [Function], | |
nthCalledWith: [Function], | |
nthReturnedWith: [Function], | |
toBeCalled: [Function], | |
toBeCalledTimes: [Function], | |
toBeCalledWith: [Function], | |
toHaveBeenCalled: [Function], | |
toHaveBeenCalledTimes: [Function], | |
toHaveBeenCalledWith: [Function], | |
toHaveBeenLastCalledWith: [Function], | |
toHaveBeenNthCalledWith: [Function], | |
toHaveLastReturnedWith: [Function], | |
toHaveNthReturnedWith: [Function], | |
toHaveReturned: [Function], | |
toHaveReturnedTimes: [Function], | |
toHaveReturnedWith: [Function], | |
toReturn: [Function], | |
toReturnTimes: [Function], | |
toReturnWith: [Function], | |
toThrow: [Function], | |
toThrowError: [Function], | |
toMatchInlineSnapshot: [Function], | |
toMatchSnapshot: [Function], | |
toThrowErrorMatchingInlineSnapshot: [Function], | |
toThrowErrorMatchingSnapshot: [Function] | |
}, | |
resolves: { | |
not: { | |
toBe: [Function], | |
toBeCloseTo: [Function], | |
toBeDefined: [Function], | |
toBeFalsy: [Function], | |
toBeGreaterThan: [Function], | |
toBeGreaterThanOrEqual: [Function], | |
toBeInstanceOf: [Function], | |
toBeLessThan: [Function], | |
toBeLessThanOrEqual: [Function], | |
toBeNaN: [Function], | |
toBeNull: [Function], | |
toBeTruthy: [Function], | |
toBeUndefined: [Function], | |
toContain: [Function], | |
toContainEqual: [Function], | |
toEqual: [Function], | |
toHaveLength: [Function], | |
toHaveProperty: [Function], | |
toMatch: [Function], | |
toMatchObject: [Function], | |
toStrictEqual: [Function], | |
lastCalledWith: [Function], | |
lastReturnedWith: [Function], | |
nthCalledWith: [Function], | |
nthReturnedWith: [Function], | |
toBeCalled: [Function], | |
toBeCalledTimes: [Function], | |
toBeCalledWith: [Function], | |
toHaveBeenCalled: [Function], | |
toHaveBeenCalledTimes: [Function], | |
toHaveBeenCalledWith: [Function], | |
toHaveBeenLastCalledWith: [Function], | |
toHaveBeenNthCalledWith: [Function], | |
toHaveLastReturnedWith: [Function], | |
toHaveNthReturnedWith: [Function], | |
toHaveReturned: [Function], | |
toHaveReturnedTimes: [Function], | |
toHaveReturnedWith: [Function], | |
toReturn: [Function], | |
toReturnTimes: [Function], | |
toReturnWith: [Function], | |
toThrow: [Function], | |
toThrowError: [Function], | |
toMatchInlineSnapshot: [Function], | |
toMatchSnapshot: [Function], | |
toThrowErrorMatchingInlineSnapshot: [Function], | |
toThrowErrorMatchingSnapshot: [Function] | |
}, | |
toBe: [Function], | |
toBeCloseTo: [Function], | |
toBeDefined: [Function], | |
toBeFalsy: [Function], | |
toBeGreaterThan: [Function], | |
toBeGreaterThanOrEqual: [Function], | |
toBeInstanceOf: [Function], | |
toBeLessThan: [Function], | |
toBeLessThanOrEqual: [Function], | |
toBeNaN: [Function], | |
toBeNull: [Function], | |
toBeTruthy: [Function], | |
toBeUndefined: [Function], | |
toContain: [Function], | |
toContainEqual: [Function], | |
toEqual: [Function], | |
toHaveLength: [Function], | |
toHaveProperty: [Function], | |
toMatch: [Function], | |
toMatchObject: [Function], | |
toStrictEqual: [Function], | |
lastCalledWith: [Function], | |
lastReturnedWith: [Function], | |
nthCalledWith: [Function], | |
nthReturnedWith: [Function], | |
toBeCalled: [Function], | |
toBeCalledTimes: [Function], | |
toBeCalledWith: [Function], | |
toHaveBeenCalled: [Function], | |
toHaveBeenCalledTimes: [Function], | |
toHaveBeenCalledWith: [Function], | |
toHaveBeenLastCalledWith: [Function], | |
toHaveBeenNthCalledWith: [Function], | |
toHaveLastReturnedWith: [Function], | |
toHaveNthReturnedWith: [Function], | |
toHaveReturned: [Function], | |
toHaveReturnedTimes: [Function], | |
toHaveReturnedWith: [Function], | |
toReturn: [Function], | |
toReturnTimes: [Function], | |
toReturnWith: [Function], | |
toThrow: [Function], | |
toThrowError: [Function], | |
toMatchInlineSnapshot: [Function], | |
toMatchSnapshot: [Function], | |
toThrowErrorMatchingInlineSnapshot: [Function], | |
toThrowErrorMatchingSnapshot: [Function] | |
}, | |
toBe: [Function: throwingMatcher], | |
toBeCloseTo: [Function: throwingMatcher], | |
toBeDefined: [Function: throwingMatcher], | |
toBeFalsy: [Function: throwingMatcher], | |
toBeGreaterThan: [Function: throwingMatcher], | |
toBeGreaterThanOrEqual: [Function: throwingMatcher], | |
toBeInstanceOf: [Function: throwingMatcher], | |
toBeLessThan: [Function: throwingMatcher], | |
toBeLessThanOrEqual: [Function: throwingMatcher], | |
toBeNaN: [Function: throwingMatcher], | |
toBeNull: [Function: throwingMatcher], | |
toBeTruthy: [Function: throwingMatcher], | |
toBeUndefined: [Function: throwingMatcher], | |
toContain: [Function: throwingMatcher], | |
toContainEqual: [Function: throwingMatcher], | |
toEqual: [Function: throwingMatcher], | |
toHaveLength: [Function: throwingMatcher], | |
toHaveProperty: [Function: throwingMatcher], | |
toMatch: [Function: throwingMatcher], | |
toMatchObject: [Function: throwingMatcher], | |
toStrictEqual: [Function: throwingMatcher], | |
lastCalledWith: [Function: throwingMatcher], | |
lastReturnedWith: [Function: throwingMatcher], | |
nthCalledWith: [Function: throwingMatcher], | |
nthReturnedWith: [Function: throwingMatcher], | |
toBeCalled: [Function: throwingMatcher], | |
toBeCalledTimes: [Function: throwingMatcher], | |
toBeCalledWith: [Function: throwingMatcher], | |
toHaveBeenCalled: [Function: throwingMatcher], | |
toHaveBeenCalledTimes: [Function: throwingMatcher], | |
toHaveBeenCalledWith: [Function: throwingMatcher], | |
toHaveBeenLastCalledWith: [Function: throwingMatcher], | |
toHaveBeenNthCalledWith: [Function: throwingMatcher], | |
toHaveLastReturnedWith: [Function: throwingMatcher], | |
toHaveNthReturnedWith: [Function: throwingMatcher], | |
toHaveReturned: [Function: throwingMatcher], | |
toHaveReturnedTimes: [Function: throwingMatcher], | |
toHaveReturnedWith: [Function: throwingMatcher], | |
toReturn: [Function: throwingMatcher], | |
toReturnTimes: [Function: throwingMatcher], | |
toReturnWith: [Function: throwingMatcher], | |
toThrow: [Function: throwingMatcher], | |
toThrowError: [Function: throwingMatcher], | |
toMatchInlineSnapshot: [Function: throwingMatcher], | |
toMatchSnapshot: [Function: throwingMatcher], | |
toThrowErrorMatchingInlineSnapshot: [Function: throwingMatcher], | |
toThrowErrorMatchingSnapshot: [Function: throwingMatcher] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment