title: How can I avoid "No test specified" errors in npm?
body: <p>I'm using npm@5.6.0 on Mac High Sierra. I want to run tests that were setup in this <a href="https://github.com/arnabk/stratum-client" rel="noreferrer">Stratum client project</a>. I have run <code>npm install</code> successfully.  But when I try and run individual tests, I get the error:</p>
  
  <pre><code>no test specified
  </code></pre>
  
  <p>What gives?  I am in the root project directory and the tests are in my "test" folder. Here is what happens:</p>
  
  <pre><code>localhost:stratum-client-master davea$ npm install
  up to date in 0.381s
  localhost:stratum-client-master davea$ npm test test/callbacks.js
  
  &gt; stratum-client@1.0.1 test /Users/davea/Documents/workspace/stratum-client-master
  &gt; echo "Error: no test specified" &amp;&amp; exit 1 "test/callbacks.js"
  
  Error: no test specified
  sh: line 0: exit: too many arguments
  npm ERR! Test failed.  See above for more details.
  </code></pre>