import * as React from 'react'; import { Masthead } from '../Masthead'; import { createRenderer } from 'react-test-renderer/shallow'; const shallowRenderer = createRenderer(); describe('', () => { it('should render and match the snapshot', () => { shallowRenderer.render(); const renderedOutput = shallowRenderer.getRenderOutput(); expect(renderedOutput).toMatchSnapshot(); }); });