It should be mocha.opts not mocha.opts.md