Skip to content

Commit

Permalink
Update src/components/__tests__/input.test.tsx
Browse files Browse the repository at this point in the history
Co-authored-by: Radu-Cristian Popa <[email protected]>
  • Loading branch information
ionutanin and raducristianpopa authored Jan 8, 2024
1 parent a568508 commit ba41482
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/__tests__/input.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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(<Input aria-label="test input" error />)

expect(queryByLabelText('test input')).toBeInTheDocument()
Expand Down

0 comments on commit ba41482

Please sign in to comment.