From ba4148290db1a2e5e62534df1edd8dafd90b49ae Mon Sep 17 00:00:00 2001 From: Ionut Anin Date: Mon, 8 Jan 2024 14:23:52 +0200 Subject: [PATCH] Update src/components/__tests__/input.test.tsx Co-authored-by: Radu-Cristian Popa --- src/components/__tests__/input.test.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/__tests__/input.test.tsx b/src/components/__tests__/input.test.tsx index 9d4f7a8e..506fed5c 100644 --- a/src/components/__tests__/input.test.tsx +++ b/src/components/__tests__/input.test.tsx @@ -43,7 +43,7 @@ describe('Input', () => { expect(queryByLabelText('test input')).toHaveClass('border-base') }) - it('should have the `border-error` class when the `error` variant is passed', () => { + it('should have the `border-error` class when an error message is passed', () => { const { queryByLabelText } = render() expect(queryByLabelText('test input')).toBeInTheDocument()