title: make sure to include the file in Jest's transformIgnorePatterns as wel
body: <p>I'm trying to make jest/enzyme tests in react</p>
  
  <p>I have this test:</p>
  
  <pre><code>import React from 'react';
  
  import { shallow } from 'enzyme';
  import { mount } from 'enzyme'
  
  import WorkOutForm from './workOutForm';
  
  describe('WorkOutForm', () =&gt; {
        it('should start a new workoutForm with empty state', () =&gt; {
          const component = mount(&lt;WorkOutForm/&gt;)
  
          expect(component).toMatchSnapshot();
        });
     })
  </code></pre>
  
  <p>but when i do a <code>npm run test</code> i receive:</p>
  
  <blockquote>
    <p>src/workout/workOut.test.js   ● Test suite failed to run</p>
  
  <pre><code>babel-jest: Babel ignores src/workout/workOutForm.jsx - make sure to include the file in Jest's transformIgnorePatterns as well.
  </code></pre>
  </blockquote>
  
  <p>I try to add this file in the package.json:</p>
  
  <pre><code>  "jest": {
      "transformIgnorePatterns": [
        "src/workout/workOutForm.jsx"
      ]
    }
  </code></pre>
  
  <p>but i'm receiving the same error.
  where i have to put this?</p>