Repository navigation
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. |
|
Size Change: 0 B Total Size: 2.12 MB ℹ️ View Unchanged
|
1bb62f3 to
6ce7cb7
Compare
6ce7cb7 to
b3f8958
Compare
wp/6.9 branch Actions: Ignore stale Browserslist data warning in unit tests
b3f8958 to
425811a
Compare
425811a to
92ab3fa
Compare
|
Flaky tests detected in db5864f. 🔍 Workflow run URL: https://github.com/desrosj/gutenberg/actions/runs/34877987645 ensures List View global shortcut works properly in
|
92ab3fa to
e310dae
Compare
e310dae to
12e40ac
Compare
12e40ac to
e173022
Compare
e173022 to
3932303
Compare
3932303 to
ad928d7
Compare
b665bbd to
eae4eb5
Compare
eae4eb5 to
9c7b45a
Compare
9c7b45a to
dd7ddbd
Compare
dd7ddbd to
e3431d4
Compare
e3431d4 to
44569ba
Compare
44569ba to
686a425
Compare
686a425 to
e4d3699
Compare
e4d3699 to
8796e88
Compare
8796e88 to
dba1574
Compare
dba1574 to
1777c1a
Compare
Browserslist's bundled `caniuse-lite` database on this branch is old enough to print a `console.warn` the first time it is consulted during a test run. `@wordpress/jest-console` fails any test where an unexpected `console.warn` occurs, so whichever suite happens to invoke Browserslist first fails, even though none of them test anything related to Browserslist or console output. Cherry-picked from `wp/7.0`, where this was committed directly with no associated pull request.
1777c1a to
db5864f
Compare
|
Migrated to real upstream: WordPress#82870. Closing this fork PR. |
What?
This configures Jest to ignore the stale Browserslist data warning when running tests.
Why?
Browserslist's bundled
caniuse-litedatabase on this branch is old enough to print aconsole.warnthe first time it's consulted during a test run.@wordpress/jest-consoleautomatically fails any test where an unexpectedconsole.warnoccurs, so whichever suite happens to invoke Browserslist first fails — even though none of them are actually testing anything related to Browserslist or console output.How?
This is a cherry-pick of commit a468930, which was committed directly to the
wp/7.0branch and configuresBROWSERSLIST_IGNORE_OLD_DATAintest/unit/jest.config.jsThis was never merged forward to
wp/7.1ortrunkbecause those branches instead keepcaniuse-liteitself genuinely fresh via routine dependency-bump PRs (e.g. WordPress#79630), which isn't a viable long-term strategy for a frozen maintenance branch like this one.Use of AI Tools
This PR was created by Claude Code under my supervision. All code should be treated as AI-produced and not yet reviewed by a human until this PR is marked Ready for Review.