-
Notifications
You must be signed in to change notification settings - Fork 4.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Interactivity API: Correctly handle lazily added, deeply nested prope…
…rties with `deepMerge()` (#65465) * test: Add case for deeply nested undefined properties in context proxy Add a test to ensure the context proxy correctly handles and updates deeply nested properties that are initially undefined. * Update the test case to use `proxifyState()` * Add test for deepMerge with nested undefined properties * Add a failing test in `deep-merge.ts` * Add another failing test * Make all the tests pass * Simplify code * Fix test case name * Add one extra test * Update test in `context-proxy` * Update changelog --------- Co-authored-by: michalczaplinski <[email protected]> Co-authored-by: DAreRodz <[email protected]> Co-authored-by: cbravobernal <[email protected]>
- Loading branch information
1 parent
9b1ee51
commit 366cf1f
Showing
4 changed files
with
182 additions
and
38 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
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
366cf1f
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 366cf1f.
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/11182712386
📝 Reported issues:
/test/e2e/specs/interactivity/router-navigate.spec.ts