You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The unknown thing to me is why the mock implementation is not reset between tests in these conditions as this setup file seems to be executed only once by test file.
Hello,
First thank you for this great lib 😄
It seems that the way to use this library described in the documentation is not compatible with the
resetMocks
option of Jest.Indeed,
next/dynamic
is only mocked for the first test and the real one is restored from the second test.I don't know if it could be managed by the lib directly but it could be at least documented.
Regards,
Josselin BUILS
The text was updated successfully, but these errors were encountered: