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
I think that Jest is breaking my changes to global between test runs, not a problem in vm2 (I think it uses eval) but when creating a new module and compiling it global is reset.
This is less of an issue in danger, but much more of an issue in Peril.
Perhaps in tests we could not edit globals and use jest.mock on a "danger" import?
The text was updated successfully, but these errors were encountered:
I think that Jest is breaking my changes to global between test runs, not a problem in vm2 (I think it uses eval) but when creating a new module and compiling it
global
is reset.This is less of an issue in danger, but much more of an issue in Peril.
Perhaps in tests we could not edit globals and use
jest.mock
on a "danger" import?The text was updated successfully, but these errors were encountered: