import React from 'react'; import { render } from '../../../tests/utils'; import Breadcrumb from '../index'; describe('Breadcrumb.ItemRender', () => { it('render as expect', () => { const { container } = render( ( {route.title} )} />, ); expect(container).toMatchSnapshot(); }); });