Skip to content

Commit a010e43

Browse files
committed
fix(Stats): fixed stats tests
1 parent d054b29 commit a010e43

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/Stats/Stats.test.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,12 +36,12 @@ describe('Stats', () => {
3636
})
3737

3838
it('Should apply horizontal modifier class', () => {
39-
const { container } = render(<Stats horizontal />)
39+
const { container } = render(<Stats direction="horizontal" />)
4040
expect(container.firstChild).toHaveClass('stats-horizontal')
4141
})
4242

4343
it('Should apply vertical modifier class', () => {
44-
const { container } = render(<Stats vertical />)
44+
const { container } = render(<Stats direction="vertical" />)
4545
expect(container.firstChild).toHaveClass('stats-vertical')
4646
})
4747
})

0 commit comments

Comments
 (0)