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
This issue was closed because it has been stalled for 30 days with no activity. Please open a new issue if the issue is still relevant, linking to this one.
This issue was closed because it has been stalled for 30 days with no activity. Please open a new issue if the issue is still relevant, linking to this one.
Version
29.7.0
Steps to reproduce
Clone repo:
Install package:
Run test:
Expected behavior
I would have thought the
instanceof
operator should remain unaffected following a call tojest.resetModules()
.Actual behavior
The following test starts failing after a call to
jest.resetModules()
.The
instanceof
operator cannot correctly determine that an object is an instance of a certain class after callingjest.resetModules()
Additional context
No response
Environment
The text was updated successfully, but these errors were encountered: