()
| 13 | const getInput = () => screen.getByRole('textbox') as HTMLInputElement; |
| 14 | |
| 15 | const getBoxes = () => |
| 16 | Array.from(document.querySelectorAll('[aria-hidden="true"]')).map( |
| 17 | (box) => box.textContent, |
| 18 | ); |
| 19 | |
| 20 | describe('CodeField', () => { |
| 21 | beforeEach(() => { |