forked from WordPress/gutenberg
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Flag invalid Navigation Link items. (WordPress#31716)
* mark items that no longer exist as invalid * mock pages on mocked search response Necessary as the invalid links logic calls `getEntityRecord` on pages, and if they don't exist a 404 error is thrown, causing tests using `mocklSearchResponse` to fail, as the pages being looked up don't exist. Using `createPages` does not fix this issue. * remove redundant span from missing text * make tooltip text readable
- Loading branch information
Showing
3 changed files
with
209 additions
and
62 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
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