-
Notifications
You must be signed in to change notification settings - Fork 4.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ToolsPanel
: refactor unit tests to TypeScript (#48275)
* rename file * Move control value from props object to separate variable * Fix context type * Remove disabled option in the query, replace with aria-disabled attribute check * Reuse ToolsPanelItem component props type * Avoid reusing the same variable to hold two different query results * Type component * Add missing required props to ToolsPanelItem * Add types to internal `ToolsPanelOptional` component * Prefer React global for types * CHANGELOG * Extract controlvalue props
- Loading branch information
Showing
2 changed files
with
102 additions
and
61 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
a9db335
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.
Flaky tests detected in a9db335.
Some tests passed with failed attempts. The failures may not be related to this commit but are still reported for visibility. See the documentation for more information.
🔍 Workflow run URL: https://github.com/WordPress/gutenberg/actions/runs/4235654219
📝 Reported issues:
specs/editor/various/multi-block-selection.test.js