it('renders a fallback component when the children component fails', () => {
  const tree = renderer
    .create(
      <ErrorBoundary fallbackComponent={FallbackComponent}>
        <FailingComponent />