check if the method is not called in jest

81

check if the method is not called in jest -

expect(controller.bar).not.toHaveBeenCalled();

Comments

Submit
0 Comments