diff options
Diffstat (limited to 'packages/frontend/src/components/global/MkA.stories.ts')
| -rw-r--r-- | packages/frontend/src/components/global/MkA.stories.ts | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/packages/frontend/src/components/global/MkA.stories.ts b/packages/frontend/src/components/global/MkA.stories.ts index ce648f2d57..5bb6b3b5a8 100644 --- a/packages/frontend/src/components/global/MkA.stories.ts +++ b/packages/frontend/src/components/global/MkA.stories.ts @@ -41,6 +41,9 @@ export const Default = { await tick(); const menu = canvas.getByRole('menu'); await expect(menu).toBeInTheDocument(); + await userEvent.click(a, { button: 0 }); + await tick(); + await expect(menu).not.toBeInTheDocument(); }, args: { to: '#test', |