Skip to content

Commit

Permalink
docs(coverage): browser launching details
Browse files Browse the repository at this point in the history
- use `text-lcov` with `codecov` example
- reference `--no-browser` alongside note on auto launching browser with `--coverage-report=html`
  • Loading branch information
Ahmad Nassri authored and isaacs committed May 17, 2018
1 parent 3336514 commit 39f73f9
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions docs/coverage/index.md
Expand Up @@ -73,7 +73,7 @@ following:
{
"scripts": {
"test": "tap test/*.js --coverage",
"posttest": "tap --coverage-report=lcov && codecov"
"posttest": "tap --coverage-report=text-lcov && codecov"
}
}

Expand All @@ -98,4 +98,5 @@ supported by istanbul is available, including:
To specify a report format, you can use `--coverage-report=<type>`.
The default type is `text`, which produces a pretty text-only table on
the terminal. If you specify `--coverage-report=html`, then tap will
attempt to open a web browser to view the report after the test run.
attempt to launch a web browser to view the report after the test run.
You can prevent launching a browser by specifying the flag `--no-browser`.

0 comments on commit 39f73f9

Please sign in to comment.