diff --git a/packages/react/src/UnorderedList/UnorderedList.test.tsx b/packages/react/src/UnorderedList/UnorderedList.test.tsx index f0d847c11c..48082c57c5 100644 --- a/packages/react/src/UnorderedList/UnorderedList.test.tsx +++ b/packages/react/src/UnorderedList/UnorderedList.test.tsx @@ -61,6 +61,14 @@ describe('Unordered list', () => { expect(items.length).toBe(3) }) + it('renders the small size class', () => { + render() + + const component = screen.getByRole('list') + + expect(component).toHaveClass('ams-unordered-list--small') + }) + it('supports ForwardRef in React', () => { const ref = createRef()