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
Jest has a new release that forbids overriding of require.cache:
console.warn
`require.cache` modification is not permitted
at Object.notPermittedMethod (node_modules/jest-runtime/build/index.js:1509:44)
at node_modules/stealthy-require/lib/index.js:24:33
at forEach (node_modules/stealthy-require/lib/index.js:10:9)
at clearCache (node_modules/stealthy-require/lib/index.js:22:5)
at module.exports (node_modules/stealthy-require/lib/index.js:32:5)
at Object.<anonymous> (node_modules/request-promise/lib/rp.js:10:19)
Jest has a new release that forbids overriding of
require.cache
:jestjs/jest#9841
I have no idea why request-promise would need such a hack. Is there a workaround to prevent the warning for Jest?
The text was updated successfully, but these errors were encountered: