Jest, console.warn require.cache modification is not permitted
danielweck opened this issue · 1 comments
danielweck commented
Due to this:
https://github.com/facebook/jest/pull/9841/files
and this:
Lines 21 to 23 in 410cc14
=>
console.warn
`require.cache` modification is not permitted
(output'ed many times in the console when unit-testing, with full stacktrace, so quite disruptive, albeit non-fatal unless unit-tests check for CLI output)
sindresorhus commented