-
-
Notifications
You must be signed in to change notification settings - Fork 4.6k
Support ESM plugins #13201
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
Support ESM plugins #13201
Conversation
sosukesuzuki
left a comment
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.
Great work!!
| return { name, ...plugin }; | ||
| } catch { | ||
| // try node modules | ||
| return importPlugin(name, process.cwd()); |
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 line should be covered by tests..
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.
I'm 100% sure this line is covered, there is something wrong with c8, see nicolo-ribaudo/jest-light-runner#13
# Conflicts: # tests/integration/plugins/automatic/prettier-plugin-baz.js
Description
Checklist
docs/directory).changelog_unreleased/*/XXXX.mdfile followingchangelog_unreleased/TEMPLATE.md.✨Try the playground for this PR✨