[jest] add type definition for toHaveBeenLastCalledWith (#13038)

This commit is contained in:
Fedor Nezhivoi
2016-12-20 21:14:57 +09:00
committed by vvakame
parent 4f43206812
commit 541073e5c8
+1
View File
@@ -134,6 +134,7 @@ declare namespace jest {
toHaveBeenCalled(): boolean;
toHaveBeenCalledTimes(expected: number): boolean;
toHaveBeenCalledWith(...params: any[]): boolean;
toHaveBeenLastCalledWith(...params: any[]): boolean;
toMatch(expected: string | RegExp): void;
toMatchSnapshot(): void;
toThrow(): void;