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 has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
Please note this issue tracker is not a help forum. We recommend using StackOverflow or our discord channel for questions.
This seems similar to #20 but significantly broader. Similar to the older issue, with the latest version of Jest on NPM (tagged v0.1.15), this fails:
However, this works:
HOWEVER, contrary to the initial bug report, this seems to be affecting more than just NPM modules. In fact, this works:
But this fails:
As does this:
In short: Calling .dontMock() on an ANY module seems to disable mocking on ALL modules thereafter.
The text was updated successfully, but these errors were encountered: