Open kevinbarabash opened 6 years ago
Hi @kevinbarabash The default report type is "text", which will produce the coverage report on the console, but do not generate the html report or any other file locally.
To generate the html report you have to explicitly ask for its report type on the command line (e.g. by running: flow-coverage-report -t text -t html ...
) or from one of the supported configuration sources (e.g. from the package.json file as used in this repository: https://github.com/rpl/flow-coverage-report/blob/5a72d56bcc661d00ce698915845e6e55fd93ecf1/package.json#L164-L175).
to clarify is reportTypes
the proper key? In the README, it says to use types
.
Also it looks like globIncludePatterns
and includeGlob
are interchangeable? Maybe there can be docs regarding the options that should be passed?
I ran the following command:
and it prints out the coverage but doesn't store the output anywhere. The
-o
seems redundant since"./flow-coverage"
is the default so I tried with and without that parameter with the same results.