title: How to handle .gql file imports in Jest tests
body: <p>I'm trying to test a component that imports a <code>.gql</code> file. When I try to build the component in a Jest file, I receive this error:</p>
  
  <pre><code>( object. anonymous function(module exports require __dirname __filename global jest) {
  query getUser {                                                
        ˆˆˆˆˆˆˆ
  &lt;script&gt;
  import GET_USER from 'PATH';
  ˆ
  </code></pre>
  
  <p>Does anyone have any idea of how to ignore the import? Because I don't need to test the GraphQL call.</p>