Fix a Mocha deprecation warning.