diff --git a/packages/react/src/components/UIShell/__tests__/SideNavDivider-test.js b/packages/react/src/components/UIShell/__tests__/SideNavDivider-test.js new file mode 100644 index 000000000000..7eba44cbaafc --- /dev/null +++ b/packages/react/src/components/UIShell/__tests__/SideNavDivider-test.js @@ -0,0 +1,20 @@ +/** + * Copyright IBM Corp. 2023 + * + * This source code is licensed under the Apache-2.0 license found in the + * LICENSE file in the root directory of this source tree. + */ + +import React from 'react'; +import SideNavDivider from '../SideNavDivider'; +import { render } from '@testing-library/react'; + +describe('SideNavDivider', () => { + describe('renders as expected - Component API', () => { + it('should support a custom `className` prop on the outermost element', () => { + const { container } = render(); + + expect(container.firstChild).toHaveClass('custom-class'); + }); + }); +});