import React from 'react'; import renderer from 'react-test-renderer'; import { MemoryRouter } from 'react-router-dom'; import Breadcrumb from '../breadcrumb'; test('breadcrumb for /features', () => { const tree = renderer.create( ); expect(tree).toMatchSnapshot(); }); test('breadcrumb for /features/view/Demo', () => { const tree = renderer.create( ); expect(tree).toMatchSnapshot(); }); test('breadcrumb for /strategies', () => { const tree = renderer.create( ); expect(tree).toMatchSnapshot(); });