Skip to content

Commit 39f73f9

Browse files
Ahmad Nassriisaacs
Ahmad Nassri
authored andcommittedMay 17, 2018
docs(coverage): browser launching details
- use `text-lcov` with `codecov` example - reference `--no-browser` alongside note on auto launching browser with `--coverage-report=html`
1 parent 3336514 commit 39f73f9

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed
 

‎docs/coverage/index.md

+3-2
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ following:
7373
{
7474
"scripts": {
7575
"test": "tap test/*.js --coverage",
76-
"posttest": "tap --coverage-report=lcov && codecov"
76+
"posttest": "tap --coverage-report=text-lcov && codecov"
7777
}
7878
}
7979

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

0 commit comments

Comments
 (0)
Please sign in to comment.