import React from 'react' ; import { shallow } from 'enzyme' ; import { LogRetentionPanel } from './log_retention' ; import { Settings } from './settings' ; describe ( 'Settings' , ( ) => { it ( 'renders' , ( ) => { const wrapper = shallow ( < Settings />); expect ( wrapper . find ( LogRetentionPanel ) ) . toHaveLength ( 1 ) ; } ) ; } ) ;