Just use mockObject.calls. In my case I used:
const call = mockUpload.mock.calls[0][0]
Here’s the documentation about the mock property
Just use mockObject.calls. In my case I used:
const call = mockUpload.mock.calls[0][0]
Here’s the documentation about the mock property