Open Xesenix opened 6 years ago
This conflicts with https://reactjs.org/docs/cross-origin-errors.html more specifically this:
Some JavaScript bundlers may wrap the application code with eval statements in development. (For example Webpack will do this if devtool is set to any value containing the word “eval”.) This may cause errors to be treated as cross-origin.
Check if that helps: https://github.com/webpack-contrib/karma-webpack/issues/109#issuecomment-224961264
Setting
webpack.devtool = 'cheap-module-source-map'
shows unreadable paths while debugging tests.For example:
And without it (so probably
'cheap-eval-source-map'
)