-
Notifications
You must be signed in to change notification settings - Fork 139
Embed Optimizer: Switch cross-origin embeds from preconnect to dns-pr… #2256
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
base: trunk
Are you sure you want to change the base?
Conversation
|
The following accounts have interacted with this PR and/or linked issues. I will continue to update these lists as activity occurs. You can also manually ask me to refresh this list by adding the If you're merging code through a pull request on GitHub, copy and paste the following into the bottom of the merge commit message. To understand the WordPress project's expectations around crediting contributors, please review the Contributor Attribution page in the Core Handbook. |
westonruter
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.
Thanks for the PR.
I left some feedback.
Note that for the unit test failures, you'll need to update the snapshots. You can do this by first running all the unit tests locally, for example via npm run test-php and then update the snapshots via npm run update-test-case-snapshots. At this point, you should be able to do npm run test-php again, and the tests should pass. You can then commit all the HTML file updates.
|
@westonruter i did run command npm run test-php but it throws this error |
@dhruvang21 Did you follow the setup steps on the handbook page? |
|
@westonruter yes |
|
OK, I'm not sure why it's not working for you. I've updated the snapshots in 16fa2b8 |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## trunk #2256 +/- ##
=======================================
Coverage 68.86% 68.86%
=======================================
Files 90 90
Lines 7610 7610
=======================================
Hits 5241 5241
Misses 2369 2369
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
|
Based on @peterwilsoncc's comment, it seems I was overly aggressive in the switch to |
|
@westonruter how should we move further here? |
Summary
Fixes #2247
Relevant technical choices