Closed
Description
💥 Regression Report
Since upgrading to version 25.5.0
I keep getting this warning logged for each test: 'require.cache' modification is not permitted
.
I assume this is due to #9841, but as this is a change in existing behaviour (and thus a breaking change) I would have not expected this in a minor release, but in a major release.
Last working version
Worked up to version: 25.4.0
Stopped working in version: 25.5.0
Expected behavior
I would have expected this to work as before, without logging warnings.
Run npx envinfo --preset jest
System:
OS: macOS 10.15.4
CPU: (8) x64 Intel(R) Core(TM) i7-4870HQ CPU @ 2.50GHz
Binaries:
Node: 12.14.0 - /usr/local/bin/node
Yarn: 1.22.4 - /usr/local/bin/yarn
npm: 6.14.4 - /usr/local/bin/npm
npmPackages:
jest: ^25.5.0 => 25.5.0
Activity