-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
unable to write HTML report in Node.JS 14.x #16
Comments
fixing this is as easy as adding writeFile(process.env.JEST_TEST_REPORT_PATH || path.join(process.cwd(), 'test-results/test-report.html'), htmlOutput.toString()); but I wonder if, especialy for large test suites, memory could be conserved by streaming instead amex-jest-preset/html-report-creator.js Lines 24 to 27 in 64d7d93
|
Yes https://jestjs.io/docs/en/configuration.html#testresultsprocessor-string must be synchronous unfortunately. @PixnBits would you mind opening a PR to fix this? |
🎉 This issue has been resolved in version 6.1.0 🎉 The release is available on: Your semantic-release bot 📦🚀 |
All tests run, but on completion an error is thrown:
I believe this is due to a breaking change in Node.JS 14.x where
data
is no longer being coerced nodejs/node#31030The text was updated successfully, but these errors were encountered: