title: React native jest.preset.js file missing error
body: <p>I use @testing-library/react-native to test my RN app. When I run yarn test, following error occurs.</p>
  <pre><code>@testing-library/react-native should have &quot;jest-preset.js&quot; or &quot;jest-preset.json&quot; file at the root.
  </code></pre>
  <p>I use typescript for my app.</p>
  <p>my test script is like this.</p>
  <pre><code>test&quot;: &quot;jest --config jest.config.json&quot;
  </code></pre>
  <p>jest.config.json file is like this.</p>
  <pre><code>{
    &quot;preset&quot;: &quot;@testing-library/react-native&quot;,
    &quot;collectCoverageFrom&quot;: [&quot;src/**/*.{ts,tsx}&quot;],
    &quot;moduleDirectories&quot;: [&quot;node_modules&quot;, &quot;src&quot;],
    &quot;setupFiles&quot;: [
      &quot;&lt;rootDir&gt;/jestSetup/setup.js&quot;,
      &quot;./node_modules/react-native-gesture-handler/jestSetup.js&quot;
    ],
    &quot;transformIgnorePatterns&quot;: [
      &quot;node_modules/(?!(jest-)?(react-native|@?react-navigation|@react-native-community))&quot;
    ],
    &quot;coveragePathIgnorePatterns&quot;: [&quot;/node_modules/&quot;, &quot;/jestSetup&quot;, &quot;/src/config.ts&quot;, &quot;/src/app.tsx&quot;]
  }
  </code></pre>
  <p>Why am I getting this error?</p>