-
Notifications
You must be signed in to change notification settings - Fork 4.7k
Modal: add more unit tests
#54569
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Modal: add more unit tests
#54569
Conversation
|
Size Change: +368 B (0%) Total Size: 1.62 MB
ℹ️ View Unchanged
|
|
Flaky tests detected in 7e8f3d1. 🔍 Workflow run URL: https://github.com/WordPress/gutenberg/actions/runs/6226004862
|
ciampo
left a comment
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.
Thank you @stokesman ! Code looks great 🚀
Let's add a CHANGELOG entry and merge!
What?
user-eventlibrary.Why?
While working on #51602, these behaviors were initially overlooked because they a bit obscure. Without tests these behaviors might be inadvertently broken later on.
How?
Asserts expected behaviors in three new tests.
Testing Instructions
.skipfrom test at line 170 ofpackages/components/src/modal/test/index.tsx.