check if the method is not called in jest

84

check if the method is not called in jest -

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

Comments

Submit
0 Comments