Skip to content

Commit

Permalink
add the description of highlight in documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
Mia-jeong committed Oct 15, 2019
1 parent f2417df commit dbf0e4e
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit dbf0e4e

Please sign in to comment.