-
Notifications
You must be signed in to change notification settings - Fork 25
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
#7186: Replace webpack.scripts with Jest #7340
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #7340 +/- ##
==========================================
+ Coverage 72.09% 72.26% +0.17%
==========================================
Files 1206 1205 -1
Lines 37449 37430 -19
Branches 7019 7015 -4
==========================================
+ Hits 26997 27048 +51
+ Misses 10452 10382 -70 ☔ View full report in Codecov by Sentry. |
@@ -32,15 +32,15 @@ registerContribBlocks(); | |||
|
|||
Error.stackTraceLimit = Number.POSITIVE_INFINITY; | |||
|
|||
console.log(`version: ${process.env.NPM_PACKAGE_VERSION}`); | |||
console.log(`version: ${process.env.npm_package_version}`); |
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.
What's causing the capitalization change?
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.
The webpack config was intentionally changing the ENV. The lowercase ENV is provided by npm run
No loom links were found in the first post. Please add one there if you'd like to it to appear on Slack. Do not edit this comment manually. |
What does this PR do?
I wanted to see what making this change would entail. It turns out, it was a quick change. As you can see this drops a lot of custom code and a dependency.
Future Work
This PR is intentionally minimal.
We could replace the
expect
call with a full snapshot so that we don't keep track of involuntary registration changes but also the actual changes in bricks (e.g. if a brick is added and one removed, the expectation is successful but wrong)Checklist