text: // @flow
  
  import 'raf/polyfill'
  import { configure } from 'enzyme'
  import Adapter from 'enzyme-adapter-react-16'
  
  configure({ adapter: new Adapter() })
  
  // $FlowFixMe
  console.error = error => {
    throw Error(error)
  }
  
  // $FlowFixMe
  console.warn = warn => {
    throw Error(warn)
  }
  