import React from 'react'; import { expect } from 'chai'; import { describe, it } from 'mocha'; import { shallow } from 'enzyme'; import PopoverSection from '../../../javascripts/components/PopoverSection'; describe('PopoverSection', () => { const defaultProps = { title: 'Section Title', isSelected: true, onSelect: () => {}, info: 'info section', children:
, }; let wrapper; const factory = (overrideProps) => { const props = Object.assign({}, defaultProps, overrideProps || {}); return shallow(