import React from 'react' ; import { shallow } from 'enzyme' ; import { ViewContentHeader } from '../../shared/view_content_header' ; import { AccountSettingsSidebar } from './account_settings_sidebar' ; describe ( 'AccountSettingsSidebar' , ( ) => { it ( 'renders' , ( ) => { const wrapper = shallow ( < AccountSettingsSidebar />); expect ( wrapper . find ( ViewContentHeader ) ) . toHaveLength ( 1 ) ; } ) ; } ) ;