-
-
Notifications
You must be signed in to change notification settings - Fork 6.5k
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
Updated config docs - transform #8583
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! |
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.
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.
Thanks! I have updated according to your suggestions. Thanks for being nice :)
Codecov Report
@@ Coverage Diff @@
## master #8583 +/- ##
=======================================
Coverage 63.24% 63.24%
=======================================
Files 272 272
Lines 11311 11311
Branches 2760 2761 +1
=======================================
Hits 7154 7154
Misses 3540 3540
Partials 617 617 Continue to review full report at Codecov.
|
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.
This is great, thanks! Could you also update the versioned docs?
@SimenB for versioned docs, below v24 would have to be |
@jeysal yup, the pattern changed just for 24, otherwise the docs should match 🙂 |
@danm mind adding the mentioned changes to |
@danm ping |
I've added a default option to clear up any confusion, hopefully that will make it more obvious how it should be added back in when additional transformers are added.
Co-Authored-By: Tim Seckinger <seckinger.tim@gmail.com>
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.
Rebased and updated versioned docs
Thank you @danm! Looking forward to future contributions 😊 |
…hile-running * upstream/master: (331 commits) chore: update ts-eslint (jestjs#9953) Updated config docs with default transform value (jestjs#8583) Update jest-phabricator documentation (jestjs#8662) chore: remove dependency on `realpath-native` (jestjs#9952) chore: bump dated dependencies (jestjs#9951) chore: another try at fixing test-utils dependency chore: update lockfile due to beta release chore: move changelog entry and fix tets utils dependency Fix time duration formatting as per SI (jestjs#9765) v26.0.0-alpha.0 chore: run some jsdom tests in leak check (jestjs#9938) chore: upgrade chalk to v4 (jestjs#9752) feat: upgrade to JSDOM 16 (jestjs#9606) chore: remove checks for compileFunction (jestjs#9949) chore: drop node 8 support (jestjs#9423) Remove leftover `providesModuleNodeModules` (jestjs#9948) [BREAKING] Pojer -> Nakazawa chore: revert lockfile changes from 2b32fe6 chore: move changelog entry and fix lint Remove `providesModuleNodeModules` from Jest. (jestjs#9583) ...
This pull request has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
I've added a default option to clear up any confusion, hopefully that will make it more obvious how it should be added back in when additional transformers are added.
Summary
It wasn't clear to me when adding an SVG transformer that the default transformer is ignored. Especially as in the docs the default is
undefined
As per #8574 it was recommended I could update the docs to make this a little clearer
Test plan
docs only.