title: "unexpected token import" error while running tests
body: <p>when I run the test, I get the following error:</p>
  
  <pre><code>({"Object.&lt;anonymous&gt;":function(module,exports,require,__dirname,__filename,global,jest){import React from 'react';
                                                                                           ^^^^^^
  
  SyntaxError: Unexpected token import
  </code></pre>
  
  <p>It makes sense, since all the lines of "import React" or "import Enzyme", are marked as an error by ESlint. I don´t know why.</p>
  
  <p>This is my .babelrc file:</p>
  
  <pre><code>{
    "presets": [
      "react",
      "stage-2",
      ["env", {
        "test": {
          "presets": ["env", "react", "stage-2"],
          "plugins": ["transform-export-extensions"],
          "only": [
            "./**/*.js",
            "node_modules/jest-runtime"
          ]
        },
        "targets": {
          "browsers": ["last 2 versions", "safari &gt;= 7"]
        },
        "modules": false
      }]
    ]
  }
  </code></pre>