/** * External dependencies * * @format */ import React from 'react'; import renderer from 'react-test-renderer'; /** * Internal dependencies */ import SectionHeader from '../'; describe( 'SectionHeader', () => { test( 'should have correct title', () => { const sectionHeader = ; expect( sectionHeader.props.title ).toBe( 'A SectionHeader Example' ); } ); test( 'it renders correctly', () => { const tree = renderer.create( ).toJSON(); expect( tree ).toMatchSnapshot(); } ); } );