[jest] add test

This commit is contained in:
Pig Fang
2018-09-07 15:41:52 +08:00
parent 0843f9b44e
commit a0ac96829e
+2
View File
@@ -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({}, {});