-
-
Notifications
You must be signed in to change notification settings - Fork 2.8k
test(eslint-plugin): add missing test cases for rules #1402
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
Conversation
This comment has been minimized.
This comment has been minimized.
valid test cases for TSImportEqualsDeclaration
packages/eslint-plugin/tests/rules/triple-slash-reference.test.ts
Outdated
Show resolved
Hide resolved
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.
lgtm - thanks for this
Codecov Report
@@ Coverage Diff @@
## master #1402 +/- ##
==========================================
+ Coverage 94.05% 94.43% +0.37%
==========================================
Files 140 140
Lines 6037 6034 -3
Branches 1713 1712 -1
==========================================
+ Hits 5678 5698 +20
+ Misses 193 186 -7
+ Partials 166 150 -16
|
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.
sorry, I didn't realise github only showed me the last commit when I opened the notification...
A few suggestions, otherwise LGTM
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.
LGTM thanks!
This PR adds some edge cases for uncovered syntax that is actually validated by rules.
each commit represents changes to tests for one rule
i was unable to get coverage for all rules that i checked up to 100% (some of code paths can't be triggered)
affected tests for rules: