Closed cody- closed 10 years ago
In case of PhantomJS crash code will be equal to null and will be converted to 0 (SUCCESS) - so we need to exit with some error code in such case.
PhantomJS
code
null
0 (SUCCESS)
:+1:
In normal execution, mocha-phantomjs sets the exit code to thenumber of tests that failed. Use a negative number and it should be fine.
@nathanboktae fixed
cool thanks!
Just published v3.3.2. Thanks y'all!
In case of
PhantomJS
crashcode
will be equal tonull
and will be converted to0 (SUCCESS)
- so we need to exit with some error code in such case.