import * as React from 'react'; import render from '../../_utils/tests/render'; import Divider from '../Divider'; import { Box, Flex } from '../../primitives'; it('renders correctly for a basic divider', () => { const { container } = render(); expect(container.firstChild).toMatchSnapshot(); }); it('renders correctly for a vertical divider', () => { const { container } = render( Hello World ); expect(container.firstChild).toMatchSnapshot(); }); it('renders correctly for a horizontal divider with content', () => { const { container } = render( Hello World ); expect(container.firstChild).toMatchSnapshot(); }); it('renders correctly for a vertical divider with content', () => { const { container } = render( Hello World ); expect(container.firstChild).toMatchSnapshot(); });