Open jaumard opened 8 years ago
I am having the same issue. Is this a regression from #58 ?
I can confirm I have the same problem, but the last commit is dated Nov 14 2015
. Could it be one of the dependencies that is causing this problem.
@emmenko Not sure, I'm going to have to investigate myself as @douglasduteil doesn't seem to have been active lately.
Awesome, thanks!! :+1:
@emmenko This fixes it for me: https://github.com/nathanmarks/isparta/tree/remove-process-exit-0
The process.exit(0)
was stopping exit codes from process.on('exit')
handlers in the test harness from passing through properly.
@douglasduteil Any planned date for solve this on the main repo, so we could npm-install it fixed?
Thanks.
@pritok I've moved on to the alpha version of istanbul which works better than this lib anyways. Check out my setup here: https://github.com/callemall/material-ui
Thanks @nathanmarks !! I was trying to fix a false test error with Travis when I run coverage (on local machine works like a charm). The error is still there though, so maybe I've messed it up somewhere else. Anyways thank you for your help!
I use this command to run tests
babel-node node_modules/.bin/isparta cover _mocha
and here the output :But on travis.ci build is marked as passed even tests are not. Any way to don't run coverage if mocha tests are failing ? Or do I need to change something in order to travis.ci to detect tests are failed.