☕️ Classic, reliable, trusted test framework for Node.js and the browser
fix style on mochajs.org (#3886)
JeongHoon Byun (aka Outsider)91b3a547b9bc
diff --git a/docs/css/prism.css b/docs/css/prism.cssindex fca66adb..793fd5df 100644--- a/docs/css/prism.css+++ b/docs/css/prism.css@@ -115,7 +115,6 @@ pre[class*="language-"] {.language-css .token.string,.style .token.string {color: #9a6e3a;- background: hsla(0, 0%, 100%, .5);}.token.atrule,diff --git a/docs/css/style.css b/docs/css/style.cssindex dd60370a..e0ac07bb 100644--- a/docs/css/style.css+++ b/docs/css/style.css@@ -174,6 +174,12 @@ code {line-height: 1.8;}+:not(pre)>code {+ background-color: #f5f2f0;+ border-radius: 3px;+ padding: .2em .4em;+}+pre {background-color: #f3f3f3;border: 1px solid #ddd;diff --git a/docs/index.md b/docs/index.mdindex a3fa0906..ab898764 100644--- a/docs/index.md+++ b/docs/index.md@@ -1176,7 +1176,7 @@ Requires either `--grep` or `--fgrep` (but not both).### `--debug, --inspect, --debug-brk, --inspect-brk, debug, inspect`-> _BREAKING CHANGE in v6.0.0; `-d` is no longer an alias for `--debug`._ > _Other updates in v6.0.0:_ > _In versions of Node.js implementing `--inspect` and `--inspect-brk`, `--debug` and `--debug-brk` are respectively aliases for these two options._ > _Likewise, `debug` (not `--debug`) is an alias for `inspect` (not `--inspect`) in Node.js versions where `debug` is deprecated._+> _BREAKING CHANGE in v6.0.0; `-d` is no longer an alias for `--debug`. Other updates in v6.0.0: In versions of Node.js implementing `--inspect` and `--inspect-brk`, `--debug` and `--debug-brk` are respectively aliases for these two options. Likewise, `debug` (not `--debug`) is an alias for `inspect` (not `--inspect`) in Node.js versions where `debug` is deprecated._Enables Node.js' debugger or inspector.@@ -1637,7 +1637,7 @@ In addition to supporting the legacy [`mocha.opts`](#mochaopts) run-control form- **JavaScript**: Create a `.mocharc.js` in your project's root directory, and export an object (`module.exports = {/* ... */}`) containing your configuration.- **YAML**: Create a `.mocharc.yaml` (or `.mocharc.yml`) in your project's root directory.- **JSON**: Create a `.mocharc.json` (or `.mocharc.jsonc`) in your project's root directory. Comments — while not valid JSON — are allowed in this file, and will be ignored by Mocha.-- **`package.json`**: Create a `mocha` property in your project's `package.json`.+- **package.json**: Create a `mocha` property in your project's `package.json`.Mocha suggests using one of the above strategies for configuration instead of the legacy `mocha.opts` format.