-
-
Notifications
You must be signed in to change notification settings - Fork 26.9k
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
Support for graceful extension of Jest config #6055
Conversation
Thank you for your pull request and welcome to our community. We require contributors to sign our Contributor License Agreement, and we don't seem to have you on file. In order for us to review and merge your code, please sign up at https://code.facebook.com/cla. If you are contributing on behalf of someone else (eg your employer), the individual CLA may not be sufficient and your employer may need the corporate CLA signed. If you have received this in error or have any questions, please contact us at cla@fb.com. Thanks! |
Thank you for signing our Contributor License Agreement. We can now accept your code for this (and any) Facebook open source project. Thanks! |
This pull request has been automatically marked as stale because it has not had any recent activity. It will be closed in 5 days if no further activity occurs. |
I had an open issue with that seemed to indicate this would be an ok addition. Something preventing it from being approved? |
Any word on this? |
1 similar comment
Any word on this? |
This pull request has been automatically marked as stale because it has not had any recent activity. It will be closed in 5 days if no further activity occurs. |
This pull request has been automatically closed because it has not had any recent activity. If you have a question or comment, please open a new issue. Thank you for your contribution! |
What the heck? This was a fix for an issue where a contributor said to do it. |
Thanks! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi @jamesmfriedman,
first of all, sorry for the late response.
I'd revert the other changes than those in createJestConfig.js
( merge issues? or is GH UI just fooling me). Also these additional keys need to be documented in https://facebook.github.io/create-react-app/docs/running-tests#configuration
Otherwise I am a-okay with the idea itself
Thanks!
Yeah weird, those all popped in after I rebased 🙄. I’ll just port the changes over to the latest master and force push over this branch. |
This pull request has been automatically marked as stale because it has not had any recent activity. It will be closed in 5 days if no further activity occurs. |
@petetnt took me a while to remembe to get back to this, fixed my PR as requested ^ |
Commenting so it doesn't got stale again |
This is great, thanks @jamesmfriedman. Would you mind adding a PR to document this? |
Glad this finally made it in! Yeah sure thing. Haven’t looked since the new docs site went live but I’m assuming the src is in the repo? I’ll assume yes unless you tell me otherwise. |
That's correct @jamesmfriedman |
This PR fixes what I believe to be a very necessary fix for Jest configuration. #6042
What it does
We need to be able to update these keys for the following reasons
jest-transform-graphql
My current Jest key in package.json
Config before change, lacking my additions
Config after this PR :)