-
Notifications
You must be signed in to change notification settings - Fork 75
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
'includeFailureMsg': true & 'includeConsoleLog': true do not show the errors & logs in the HTML report #51
Comments
First and foremost: thanks for such an awesome and detailed issue report! 🥇 Hats off! It looks like it says "includeFaillureMsg" (with double Ls) in the configuration that you posted - it should be a single L in failure! Get back to me if this solves the issue! |
To have console logs outputted into the report, you would use the Also note that only console logs made in the actual tests, not the tested code, will be printed. I have had questions regarding how to trigger console logs from the tested code previously, but this is unfortunately not possible with the current state of Jest. |
Can you give an html report example of a simple jest test that has console logs in it and with includeConsoleLog: true ? 'Cause when I set includeConsoleLog to true, nothing changes in the report. I don't see any console logs.. Thanks again so much! |
Hi! I will close this issue and refer to #61 for continued discussion. |
I've added the following configuration in my jest.config.js file
The report is generated - however, neither the console logs or the failure message are displayed:
In the documentation, one of your screenshots has the error displayed.
How can this be done? What did I miss?
Thanks!
The text was updated successfully, but these errors were encountered: