Skip to content
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

Junit xml not printing the console log #145

Closed
Ppkd2021 opened this issue Sep 28, 2020 · 1 comment
Closed

Junit xml not printing the console log #145

Ppkd2021 opened this issue Sep 28, 2020 · 1 comment

Comments

@Ppkd2021
Copy link

Ppkd2021 commented Sep 28, 2020

Hi,

I did set up the property includeConsoleOutput: 'true' under jest.config.ts but while executing the test cases the console logs are getting printed on console as mentioned below but they are not coming under junit.xml and I do have 5 test files under the folder.
console.log
Yes
at Object. (playwright/e2e/user-onboarding-journey/logtest.test.ts:11:17).
I am using jest-junit": "10.0.0".
Can you let me know how can I fix this issue as I see the same issue reported earlier and fixed was merged?
jestjs/jest#8739
I tried to debug using buildJsonResult.Js, In that, it is throwing undefined for suite.console. Please let me know if there is a fix for that.

@palmerj3
Copy link
Collaborator

See #96 (comment) for more info

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants