import React from 'react'; import { render } from 'react-testing-library'; import { Provider } from 'react-redux'; import { IntlProvider } from 'react-intl'; import { ConnectedRouter } from 'connected-react-router/immutable'; import { createMemoryHistory } from 'history'; import Header from '../index'; import configureStore from '../../../configureStore'; describe('
', () => { const history = createMemoryHistory(); const store = configureStore({}, history); it('should render a div', () => { const { container } = render(
, ); expect(container.firstChild).toMatchSnapshot(); }); });