-
Notifications
You must be signed in to change notification settings - Fork 29
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
Create Plugin: Fix Code Coverage for JSX files #271
Conversation
jest.config.base.js
Outdated
@@ -4,7 +4,7 @@ module.exports = { | |||
'^.+\\.(t|j)sx?$': [ | |||
'@swc/jest', | |||
{ | |||
sourceMaps: true, | |||
sourceMaps: 'inline', |
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 the jest config for the tests run against the create-plugin and sign-plugin source code rather than the jest config that is scaffolded for a plugin. Rather than make the change here could you please make it in packages/create-plugin/templates/common/.config/jest.config.js instead?
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.
Yeap. It was the wrong file.
Now I hope the changes are in the right file
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 picking this up so quickly and contributing to plugin-tools. 🥇
🚀 PR was released in |
What this PR does / why we need it:
Changed to inline source maps for jest
Which issue(s) this PR fixes:
Fixes #267