Fix mocha dependency