From bcd828ff37eafd5df89dc831c0ab08993d08581e Mon Sep 17 00:00:00 2001 From: Christopher Hiller Date: Thu, 17 Jan 2019 14:16:28 -0800 Subject: [PATCH] add createInvalidArgumentError(); see #3676 - updated error code table in docs - all other changes in docs are from prettier - updated `--compilers` test --- docs/index.md | 418 +++++++++++++++---------------- lib/cli/run.js | 6 +- lib/errors.js | 18 ++ test/integration/options.spec.js | 16 -- 4 files changed, 231 insertions(+), 227 deletions(-) delete mode 100644 test/integration/options.spec.js diff --git a/docs/index.md b/docs/index.md index 37d9345f8d..705fce58b7 100644 --- a/docs/index.md +++ b/docs/index.md @@ -3,7 +3,8 @@ layout: default title: 'Mocha - the fun, simple, flexible JavaScript test framework' description: 'Mocha is a feature-rich JavaScript test framework running on Node.js and in the browser, making asynchronous testing simple and fun.' --- -Mocha is a feature-rich JavaScript test framework running on [Node.js](https://nodejs.org) and in the browser, making asynchronous testing *simple* and *fun*. Mocha tests run serially, allowing for flexible and accurate reporting, while mapping uncaught exceptions to the correct test cases. Hosted on [GitHub](https://github.com/mochajs/mocha). + +Mocha is a feature-rich JavaScript test framework running on [Node.js](https://nodejs.org) and in the browser, making asynchronous testing _simple_ and _fun_. Mocha tests run serially, allowing for flexible and accurate reporting, while mapping uncaught exceptions to the correct test cases. Hosted on [GitHub](https://github.com/mochajs/mocha).