Formatted all pages according to guidelines.

This commit is contained in:
Ruben Vereecken
2016-01-07 18:31:27 +01:00
parent efa4cbd4de
commit 066582e8ea
284 changed files with 1338 additions and 1364 deletions

View File

@@ -1,23 +1,23 @@
# mocha
> Execute Mocha JavaScript test runner
> Execute Mocha JavaScript test runner.
- Run tests with default configuration or as configured in `mocha.opts`
- Run tests with default configuration or as configured in `mocha.opts`:
`mocha`
- Run tests contained at a specific location
- Run tests contained at a specific location:
`mocha {{folder/with/tests}}`
- Run tests that match a specific grep pattern
- Run tests that match a specific grep pattern:
`mocha --grep {{^regex$}}`
- Run tests on changes to JavaScript files in the current directory and once initially
- Run tests on changes to JavaScript files in the current directory and once initially:
`mocha --watch`
- Run tests with a specific reporter
- Run tests with a specific reporter:
`mocha --reporter {{reporter}}`