We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d054b29 commit a010e43Copy full SHA for a010e43
1 file changed
src/Stats/Stats.test.tsx
@@ -36,12 +36,12 @@ describe('Stats', () => {
36
})
37
38
it('Should apply horizontal modifier class', () => {
39
- const { container } = render(<Stats horizontal />)
+ const { container } = render(<Stats direction="horizontal" />)
40
expect(container.firstChild).toHaveClass('stats-horizontal')
41
42
43
it('Should apply vertical modifier class', () => {
44
- const { container } = render(<Stats vertical />)
+ const { container } = render(<Stats direction="vertical" />)
45
expect(container.firstChild).toHaveClass('stats-vertical')
46
47
0 commit comments