title: Make Jest ignore the .less import when testing
body: <h1>Testing Components</h1>
  
  <p>I am trying to run some very simple tests on react components with Jest. I am running into problems because of this line at the top of my component file</p>
  
  <pre><code>import {} from './style.less';
  </code></pre>
  
  <p>The import here doesn't need to be tested and would ideally be ignored from the test.</p>
  
  <h1>Result of [npm test]</h1>
  
  <p>When the test is run via <code>npm test</code> I get the response</p>
  
  <blockquote>
    <p>FAIL  <strong>tests</strong>/app_test.js ● Runtime Error SyntaxError: Unexpected
    token { in file 'client/components/app/style.less'.</p>
    
    <p>Make sure your preprocessor is set up correctly and ensure your
    'preprocessorIgnorePatterns' configuration is correct:
    <a href="http://facebook.github.io/jest/docs/api.html#preprocessorignorepatterns-array-string" rel="noreferrer">http://facebook.github.io/jest/docs/api.html#preprocessorignorepatterns-array-string</a>
    If you are currently setting up Jest or modifying your preprocessor,
    try <code>jest --no-cache</code>. Preprocessor: node_modules/jest-css-modules.
    Jest tried to the execute the following preprocessed code: //some .less code</p>
  </blockquote>
  
  <p>But if I comment out the less import line my test runs correctly. </p>
  
  <h1>Question</h1>
  
  <p>How can I get jest to skip over this line of code or ignore this import?</p>