better `mocha` detection
1.2.5