-
-
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
Move getType from jest-matcher-utils to separate package #3559
Conversation
Looks good! I think you can safely add |
Codecov Report
@@ Coverage Diff @@
## master #3559 +/- ##
==========================================
+ Coverage 62.63% 62.65% +0.02%
==========================================
Files 182 183 +1
Lines 6704 6708 +4
Branches 6 6
==========================================
+ Hits 4199 4203 +4
Misses 2502 2502
Partials 3 3
Continue to review full report at Codecov.
|
Do you mind rebasing? |
Done. |
Thank you! |
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. |
Summary
This resolves #3528. Move the
getType
utility function fromjest-matcher-utils
to standalone package. This wayjest-config
and other packages don't need to depend onjest-matcher-utils
for just one function.Test plan
All tests still pass.
Note: When I ranyarn test
locally, It failed to typecheck insidenode_modules/jest-validate
as it was looking forgetType
function that I just removed. This comes fromprettier
depending onjest-validate
. I assumed it was safe to just ignore that typecheck since it is inside node_modules.