-
mockResolvedValue
is for asynchronous functions that return promises. Instead,mockReturnValueOnce
is for synchronous functions.
For further actions, you may consider blocking this person and/or reporting abuse
mockResolvedValue
is for asynchronous functions that return promises. Instead, mockReturnValueOnce
is for synchronous functions.For further actions, you may consider blocking this person and/or reporting abuse
Vaibhav Solanki -
Diego Palacios Lepore -
IHesamI -
Njabulo Majozi -
Top comments (0)