How to programmatically skip a test in mocha?

I have a code where certain tests will always fail in CI environment. I would like to disable them based on an environment condition.

How to programmatically skip a test in mocha during the runtime execution?

16 Answers
16

Leave a Comment