import * as React from 'react'; import render from '../../_utils/tests/render'; import Link from '../../Link'; import Menu from '../Menu'; describe('props', () => { it('renders correctly for a basic menu', () => { const { container } = render(
); expect(container.firstChild).toMatchSnapshot(); }); it('renders correctly for a menu with icons', () => { const { container } = render( ); expect(container.firstChild).toMatchSnapshot(); }); it('renders correctly for a menu with an active item', () => { const { container } = render( ); expect(container.firstChild).toMatchSnapshot(); }); it('renders correctly for a menu with a disabled item', () => { const { container } = render( ); expect(container.firstChild).toMatchSnapshot(); }); it('renders correctly for a menu with two groups', () => { const { container } = render( ); expect(container.firstChild).toMatchSnapshot(); }); it('renders correctly for a menu with a divider', () => { const { container } = render( ); expect(container.firstChild).toMatchSnapshot(); }); it('renders correctly for a horizontal menu', () => { const { container } = render( ); expect(container.firstChild).toMatchSnapshot(); }); it('renders correctly for a menu popover', () => { const { container } = render(