(tree)
| 103 | }); |
| 104 | |
| 105 | async function open(tree) { |
| 106 | await user.click(tree.getByRole('button', {name: 'Open sheet'})); |
| 107 | return tree.getByRole('dialog'); |
| 108 | } |
| 109 | |
| 110 | it('renders an accessible modal dialog with default class names and attributes', async () => { |
| 111 | let tree = render(<TestSheet />); |