Skip Subsequent Mocha Tests From Spec If One Fails
I can't find a way how to stop some part of it's from run if one of them failed I'm using mocha-as-promised, so the code might look different from as usuall describe('remote promis
Solution 1:
Mocha supports bailing after the first test failure, is that what you want?
From mocha --help
:
-b, --bail bail after first test failure
Post a Comment for "Skip Subsequent Mocha Tests From Spec If One Fails"