Skip to content

Commit

Permalink
Fix test name
Browse files Browse the repository at this point in the history
  • Loading branch information
raducristianpopa committed Dec 21, 2023
1 parent 89b89ac commit 3c0f858
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/__tests__/button.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ describe('Button', () => {
expect(queryByRole('button')).toHaveClass('bg-button-base')
})

it('should have the `bg-error class when the `destructive` variant is passed', () => {
it('should have the `bg-error` class when the `destructive` variant is passed', () => {
const { queryByRole } = render(
<Button aria-label="test button" variant="destructive">
My Button
Expand Down

0 comments on commit 3c0f858

Please sign in to comment.