How can I get the arguments called in jest mock function?
I want to inspect the object that is passed as argument.
Here is a simple way to assert the parameter passed.
expect(mockedFunction).toHaveBeenCalledWith("param1","param2");