typescript-coverage-report icon indicating copy to clipboard operation
typescript-coverage-report copied to clipboard

Bug: generated json file missing data fileCounts

Open forclan opened this issue 4 years ago • 1 comments

Describe the bug typescript-coverage.json file contains data to generate reports. however the json file's fileCounts is a empty object "{}"

Expected behaviour fileCounts field should contains content

Screenshots CleanShot 2021-08-16 at 20 53 20

Environment

  • Tool version: 0.6.0
  • OS: macos
  • Node version: 14

Additional context definition of fieldCounts is a Map;

generateJSON call JSON.stringify directly which can not stringify Map objects.

forclan avatar Aug 16 '21 12:08 forclan

@forclan sorry did you manage to solve this?

alexcanessa avatar Dec 20 '21 15:12 alexcanessa