Create a Jest mock function for a callback. Test that it was called, with the correct arguments, and exactly N times.
Click Run to test your code