title: Jest : Mock import of JSON file
body: <p>I am currently testing one of my React component like this:</p>
  <pre class="lang-js prettyprint-override"><code>it('renders correctly', () =&gt; {
    const tree = renderer.create(&lt;Scene {...props} /&gt;).toJSON();
    expect(tree).toMatchSnapshot();
  });
  </code></pre>
  <p>My component <code>Scene</code> imports a <code>setting.json</code> file. I have that file on my local instance, but I do not push it on my CI instance. So when it tries to import it, the file is not found.</p>
  <p>Is there a way to mock this file in my test ?</p>