From a0ac96829eeb23713c73d6ff4840a1e6527181af Mon Sep 17 00:00:00 2001 From: Pig Fang Date: Fri, 7 Sep 2018 15:41:52 +0800 Subject: [PATCH] [jest] add test --- types/jest/jest-tests.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/types/jest/jest-tests.ts b/types/jest/jest-tests.ts index 801c6a5a78..a4ee07f1c8 100644 --- a/types/jest/jest-tests.ts +++ b/types/jest/jest-tests.ts @@ -513,6 +513,8 @@ describe("", () => { expect(jest.fn()).toBeCalled(); + expect(jest.fn()).toBeCalledTimes(1); + expect(jest.fn()).toBeCalledWith(); expect(jest.fn()).toBeCalledWith("jest"); expect(jest.fn()).toBeCalledWith({}, {});