hunk.code_window:         data-microtip-position="top"
           role="tooltip"
           onClick={() => this.cropper.scaleX(-this.cropper.getData().scaleX || -1)}
         >
  
hunk.labels: keep keep replace keep
hunk.after_edit:         onClick={() => this.cropper.zoom(0.1)}
  
hunk.file_path: packages/@uppy/image-editor/src/Editor.js
hunk.type: replace
file: const h = require('react').createElement
  const { mount, configure } = require('enzyme')
  const ReactAdapter = require('enzyme-adapter-react-16')
  const Uppy = require('@uppy/core')
  
  beforeAll(() => {
    configure({ adapter: new ReactAdapter() })
  })
  
  jest.mock('@uppy/status-bar', () => require('./__mocks__/StatusBarPlugin'))
  
  const StatusBar = require('./StatusBar')
  
  describe('react <StatusBar />', () => {
    it('can be mounted and unmounted', () => {
      const oninstall = jest.fn()
      const onuninstall = jest.fn()
      const uppy = new Uppy()
      const dash = mount((
        <StatusBar
          uppy={uppy}
          onInstall={oninstall}
          onUninstall={onuninstall}
        />
      ))
  
      expect(oninstall).toHaveBeenCalled()
      expect(onuninstall).not.toHaveBeenCalled()
  
      dash.unmount()
  
      expect(oninstall).toHaveBeenCalled()
      expect(onuninstall).toHaveBeenCalled()
    })
  })
  