content: import React from 'react'
  import { createRenderer } from 'react-test-renderer/shallow';
  import MeetingMinuteTextInput from './MeetingMinuteTextInput'
  
  const setup = propOverrides => {
    const props = Object.assign({
      onSave: jest.fn(),
      text: 'Use Redux',
      placeholder: 'Please add new meeting minutes.',
      editing: false,
      newMeetingMinute: false
    }, propOverrides)
  
    const renderer = createRenderer()
  
    renderer.render(
      <MeetingMinuteTextInput {...props} />
    )
  
    const output = renderer.getRenderOutput()
  
    return {
      props: props,
      output: output,
      renderer: renderer
    }
  }
  
  describe('components', () => {
    describe('MeetingMinuteTextInput', () => {
      it('should render correctly when editing=true', () => {
        const { output } = setup({ editing: true })
        expect(output.props.className).toEqual('edit')
      })
  
      it('should render correctly when newMeetingMinute=true', () => {
        const { output } = setup({ newMeetingMinute: true })
        expect(output.props.className).toEqual('edit')
      })
    })
  })
  