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

This commit is contained in:
Fedor Nezhivoi
2016-12-20 21:12:53 +09:00
committed by Masahiro Wakame
parent 4c6ea4e806
commit 06274277de
+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;