Skip to content

Commit

Permalink
fixed curly braces for size in tests
Browse files Browse the repository at this point in the history
  • Loading branch information
amoutens committed Nov 28, 2024
1 parent a93a4ee commit 3a784cc
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/unit/design-system/components/Switch/Switch.spec.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -28,21 +28,21 @@ describe('AppSwitch Component', () => {
})

it('applies the correct Large size style', () => {
render(<AppSwitch size={'lg'} />)
render(<AppSwitch size='lg' />)

const switchEl = screen.getByRole('checkbox')
expect(switchEl).toBeInTheDocument()
})

it('applies the correct Medium size style', () => {
render(<AppSwitch size={'md'} />)
render(<AppSwitch size='md' />)

const switchEl = screen.getByRole('checkbox')
expect(switchEl).toBeInTheDocument()
})

it('applies the correct Small size style', () => {
render(<AppSwitch size={'sm'} />)
render(<AppSwitch size='sm' />)

const switchEl = screen.getByRole('checkbox')
expect(switchEl).toBeInTheDocument()
Expand Down

0 comments on commit 3a784cc

Please sign in to comment.