How to run npm tests from a single folder?
<p>Currently I am testing a React node application, and have all my tests in the root/tests folder, with components in separate folders pertaining to their function.</p>

<p>I have 10+ folders and 100+ tests, and would like to 'watch' a single folder while I write a test for a new component.</p>

<p>Currently, I am using </p>

<blockquote>
  <p>npm run test:watch</p>
</blockquote>

<p>Which is working brilliantly, however, not only is there a lot of overhead re-running the 100 other tests not related to my new component, it's also hard to weed through all the feedback to see the results of my current test.</p>

<p>Is there a nice command to only watch the directory of my new test, or even the test file?</p>