Merge pull request #10675 from prathamesh-sonpatki/dont-auto-require-mocha

Don't autorequire mocha to avoid deprecation warnings