title: How to run Jest tests with Yarn without any prompts?
body: <p>I am trying to run my Jest unit tests in Team City but I always end up getting the prompt as shown below.</p>
  
  <pre><code>No tests found related to files changed since last commit.
  Press `a` to run all tests, or run Jest with `--watchAll`.
  
  Watch Usage
   › Press a to run all tests.
   › Press f to run only failed tests.
   › Press p to filter by a filename regex pattern.
   › Press t to filter by a test name regex pattern.
   › Press q to quit watch mode.
   › Press Enter to trigger a test run.
  </code></pre>
  
  <p>I tried running <code>yarn test a</code> to run all the tests. But once the tests have completed execution, I'm still getting the same prompt. I tried <code>yarn test a q</code> but that doesn't work. I also tried <code>yarn test a --forceExit</code> and <code>yarn test a --bail</code> but nothing happens, I still get the prompt. How can I run all my Jest tests without getting this prompt as there will be no interaction when running through Team City? Any help would be much appreciated.</p>