mirror of
https://github.com/facebook/react.git
synced 2025-11-01 09:12:30 +00:00
fa07eb0b3b
--- jsdom and other libraries seem to cause jest workers to exit with `forceExit:true`. Not sure what option I set (or global I've overwritten) but console logs aren't flushed as a result, making debugging a bit confusing. This PR: - Moves some code from `eval(...)` to a typechecked real js function. I always had trouble debugging the `eval`ed code, so smaller code snippet is better here. - waits for jest workers to end before exiting