When grunt-contrib-nodeunit crashes, which is does often without any error message, the exit value is still 0.
The exit value for any failure should be > 0.
By crash I simply mean a fault in the code which nodeunit/grunt was somehow unable to handle. For example, not calling done() on a setup or tearDown method.
When grunt-contrib-nodeunit crashes, which is does often without any error message, the exit value is still 0.
The exit value for any failure should be > 0.
By crash I simply mean a fault in the code which nodeunit/grunt was somehow unable to handle. For example, not calling
done()
on a setup or tearDown method.