build(#10336): blur `MkA` before interaction ends

This commit is contained in:
Acid Chicken (硫酸鶏) 2023-04-02 14:33:32 +09:00
parent 903d0bd3e2
commit 9982ead9e6
No known key found for this signature in database
GPG Key ID: 3E87B98A3F6BAB99
1 changed files with 1 additions and 0 deletions

View File

@ -34,6 +34,7 @@ export const Default = {
const menu = canvas.getByRole('menu');
await expect(menu).toBeInTheDocument();
await userEvent.click(a, { button: 0 });
a.blur();
await tick();
await expect(menu).not.toBeInTheDocument();
},