Which if course, was resetting the implementation. I think the issue is react-scripts 4 added "resetMocks": true, as a default so it might be fixed by just:
"jest": {
"resetMocks": false,
}
in your package.json
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Finally! I had:
Which if course, was resetting the implementation. I think the issue is react-scripts 4 added
"resetMocks": true,
as a default so it might be fixed by just:in your package.json