-
-
Notifications
You must be signed in to change notification settings - Fork 2.8k
test(parser): update parser tsx tests to not use eslint #4323
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(parser): update parser tsx tests to not use eslint #4323
Conversation
This comment has been minimized.
This comment has been minimized.
❌ Deploy Preview for typescript-eslint failed. 🔨 Explore the source changes: f7949b4 🔍 Inspect the deploy log: https://app.netlify.com/sites/typescript-eslint/deploys/61c001063d1c1400075705ea |
import type { Plugin } from 'pretty-format'; | ||
import { TSError } from '@typescript-eslint/typescript-estree/dist/node-utils'; | ||
|
||
export const serializer: Plugin = { |
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 copy of serializer from typescript-estree
, we can't just inport it as sertializers are not compiled/exposed
Codecov Report
@@ Coverage Diff @@
## main #4323 +/- ##
==========================================
+ Coverage 92.73% 94.21% +1.47%
==========================================
Files 335 154 -181
Lines 11542 8147 -3395
Branches 3289 2600 -689
==========================================
- Hits 10704 7676 -3028
+ Misses 364 266 -98
+ Partials 474 205 -269
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.
sweet LGTM
Overview
Update TSX tests for
parser
package to useparseForESLint
instead ofexperimental-utils
this change should unblock #3317current test was treated as integration tests, instead of functional tests