Es6ify api docs (#21686)

* docs: es6ify docs -> var -> const / let

* docs: apply arrow functions throughout all of the docs
This commit is contained in:
Jorn 2020-01-13 02:29:46 +01:00 committed by Cheng Zhao
parent 29b7d80eb5
commit aef9ab1bb7
6 changed files with 23 additions and 23 deletions

View file

@ -57,7 +57,7 @@ you're currently working on using Mocha's
`.only` to any `describe` or `it` function call:
```js
describe.only('some feature', function () {
describe.only('some feature', () => {
// ... only tests in this block will be run
})
```