Configure Mocha Test Runner in Bamboo
<p>I've configured and am executing mocha tests in WebStorm, so I know the module is working properly. But I can't seem to make it run from a Bamboo task. The task runs with <em>Success</em> but there are 0 tests executed.</p>

<p>This is my configuration atm:
<a href="https://i.stack.imgur.com/QCb0A.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/QCb0A.png" alt="enter image description here"></a></p>

<p><code>app/</code> is my working dir. Tried also with <code>app/node_modules/mocha/bin/</code> and other possibilities. I am not sure which exactly is the Mocha executable of all the <code>mocha</code> named files in the module...</p>

<p>Or maybe the problem lies in the tests dir? I've got test files, respectively in <code>app/test/unit/models/</code> and <code>app/test/unit/services/</code>. But in WebStorm I configured it with the general test dir - just <code>/app/test</code>. Configuring the Mocha task in Bamboo with the specific test folders did not yield result...</p>

<p>I believe the problem comes from wrong directory configurations in the task, but I've tried writing whatever paths already and I've got no idea what's missing or wrong...</p>