title: Run Mocha.js in the browser via npm script
body: <p>I want to move some unit tests of my app to the browser instead of running in the Node.js environment.
  I've seen some examples online but what is not clear to me if it's possible to create a npm script that runs the browser tests and tell me if they've failed or not so I can use in CICD, making sure every test is passing.</p>
  <p>What is not clear to me is: is there a way to not having to manually checking the tests result?</p>