Normalize Block Library JSX Test Filenames - #80971
Closed
ciampo wants to merge 1 commit into
Closed
Conversation
1 task
|
Size Change: 0 B Total Size: 7.76 MB |
|
Flaky tests detected in 397c1a4. 🔍 Workflow run URL: https://github.com/WordPress/gutenberg/actions/runs/30549104282
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What?
See #80855.
TL;DR: Prepares Block Library for native Vitest transforms through two mechanical change classes: ten
.jsto.jsxtest renames and executable-baseline identity mappings.This stacked draft contains only filename and manifest changes and is based on #80970.
Why?
Ten Block Library tests contain JSX while using
.js. Renaming them before the runner migration avoids making.jsa permanent JSX loader contract in the Vitest execution path.How?
.jsbaseline from 1,187 to 1,177 files.Runner ownership, assertions, and snapshots do not change.
Testing Instructions
npm run test:unit -- --runInBand packages/block-librarynpm run test:unit:routingnpm run test:unit:conventionsnpm exec lint-staged -- --no-stashUse of AI Tools
This parser-backed rename inventory, manifest update, and verification were prepared with Codex. Every rename was reviewed as 100% content-preserving before opening this draft.