-
-
Notifications
You must be signed in to change notification settings - Fork 2.8k
test(eslint-plugin): split up naming-convention #4599
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
test(eslint-plugin): split up naming-convention #4599
Conversation
Thanks for the PR, @JoshuaKGoldberg! typescript-eslint is a 100% community driven project, and we are incredibly grateful that you are contributing to that community. The core maintainers work on this in their personal time, so please understand that it may not be possible for them to review your work immediately. Thanks again! 🙏 Please, if you or your company is finding typescript-eslint valuable, help us sustain the project by sponsoring it transparently on https://opencollective.com/typescript-eslint. As a thank you, your profile/company logo will be added to our main README which receives thousands of unique visitors per day. |
✔️ Deploy Preview for typescript-eslint ready! 🔨 Explore the source changes: e866d1a 🔍 Inspect the deploy log: https://app.netlify.com/sites/typescript-eslint/deploys/621e4ab2817ed80008162380 😎 Browse the preview: https://deploy-preview-4599--typescript-eslint.netlify.app |
Codecov Report
@@ Coverage Diff @@
## main #4599 +/- ##
==========================================
+ Coverage 92.41% 94.41% +1.99%
==========================================
Files 350 151 -199
Lines 12059 8229 -3830
Branches 3430 2623 -807
==========================================
- Hits 11144 7769 -3375
+ Misses 642 262 -380
+ Partials 273 198 -75
Flags with carried forward coverage won't be shown. Click here to find out 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 for going through to clean this up!
shaving off a few minutes is a big win!
PR Checklist
Overview
Splits out the dynamically generated tests from
naming-convention.test.ts
into their own test case files. This lets Jest run them in parallel. There should be no changes to test logic.Performance runs
hyperfine -p 'yarn jest --clearCache' --show-output
withinpackages/eslint-plugin
. Terminal was in focus and no actions taken on open programs during test runs.main
naming-convention-split
yarn jest
yarn jest naming-convention
Raw data
yarn jest
onmain
(reusing time from another PR):yarn jest
onnaming-convention-split
:yarn jest naming-convention
onmain
:yarn jest naming-convention
onnaming-convention-split
: