-
Notifications
You must be signed in to change notification settings - Fork 110
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
Add file attr if JEST_JUNIT_ADD_FILE_ATTRIBUTE is true #77
Conversation
Sweet! Code looks good. Would you mind just doing two additional things? I'd like you to link to any documentation in circle-ci in the README so folks know this file attribute is primarily for there. If that doesn't exist then perhaps just expand on the README description of the setting a bit, mentioning that it provides richer details for circle-ci but may break on other CI platforms if enabled. The other bit I'd like you to do is add another test which tests that the file attribute does not exist without the setting. Thank you!! |
0ed2327
to
dee46ff
Compare
I can't find any doc about I've added a description and test. |
@nicolasschabram would you be willing to test out this PR on your jenkins configuration to see if it breaks? By default it should be just fine - but will break your setup if the JEST_JUNIT_ADD_FILE_ATTRIBUTE exists. |
Yup, seems to work. Jenkins fails with the same error I had in #74 when setting this in package.json: "jest-junit": {
"addFileAttribute": "true"
} Without it, everything works fine. (Btw, I noticed it only picks up the setting with Anyway, thanks a lot for the fix! |
I used
|
@palmerj3 Is there any blocker to merge this PR? |
@mtsmfm hey I don't think so. I'm going to go ahead and merge it and push a new version. |
@mtsmfm v6.3.0 was published with this change |
ref: #71 (comment)