lundi 24 août 2015

define a test directory for mocha

I've written my tests using ES6 and execute them (with code coverage report) as follows:

$> babel-node isparta cover _mocha backend/tests

However, the tests are not found. It only works when I have a ./test directory. Any suggestions how I can define a different test directory ?

Aucun commentaire:

Enregistrer un commentaire