I am mocking a function (react hook) to return something for a unit test, and would like to verify with a spy that it has been called only once.
This works fine for r