From dbf0e4ec0c1c47f6f32dec8d19e26dd9ccd2aeec Mon Sep 17 00:00:00 2001 From: Mia-jeong Date: Tue, 15 Oct 2019 17:55:04 +0900 Subject: [PATCH] add the description of highlight in documentation --- docs/index.md | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/docs/index.md b/docs/index.md index 40d38aae84..683fcc8936 100644 --- a/docs/index.md +++ b/docs/index.md @@ -1588,8 +1588,17 @@ You can pass a reporter's name or a custom reporter's constructor. You can find #### Options that _only_ function in browser context: -`noHighlighting` _{boolean}_ -If set to `true`, do not attempt to use syntax highlighting on output test code. +> _`BREAKING CHANGE in v7.0.0; noHighlighting` is DEPRECATED. We recommend using `reporterOptions.highlight` instead._ + +`reporterOptions.highlight` _{boolean}_ + +If set to `false`, do not attempt to use syntax highlighting on output test code. + +```js +reporterOptions: { + highlight: false; +} +``` ### Reporting