From 79287fd845a471131498b9ab167bc128468dd142 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kr=C3=A6n=20Hansen?= Date: Tue, 30 Sep 2025 17:12:08 +0200 Subject: [PATCH] Add failing test for TextInput ref --- packages/text-input/src/TextInput/TextInput.spec.tsx | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/packages/text-input/src/TextInput/TextInput.spec.tsx b/packages/text-input/src/TextInput/TextInput.spec.tsx index 09a219f840..347534dfad 100644 --- a/packages/text-input/src/TextInput/TextInput.spec.tsx +++ b/packages/text-input/src/TextInput/TextInput.spec.tsx @@ -245,6 +245,11 @@ describe('packages/text-input', () => { ; ; }); + + test('TextInput takes a ref for a HTMLInputElement', () => { + const ref = React.createRef(); + render(); + }); }); /* eslint-enable jest/no-disabled-tests */ });