Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
katspaugh committed Dec 9, 2024
1 parent a66685f commit d532bc1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/common/Mui/index.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ describe('Box Component', () => {
})

it('applies flex props correctly', () => {
const { getByTestId } = render(<Box data-testid="box" />)
const { getByTestId } = render(<Box display="flex" flexDirection="column" data-testid="box" />)
const box = getByTestId('box')
expect(box).toHaveStyle('display: flex')
expect(box).toHaveStyle('flex-direction: column')
Expand Down

0 comments on commit d532bc1

Please sign in to comment.