Repository navigation
What's Changed
- escape report values in the coverage table and keep them out of markdown parsing: the coverage report line now starts with
<!-- jest-coverage-comment -->, so text right after an embeddedcoverageHtml(e.g. in a README) renders as markdown again (#157) - escape report values in the summary and
multiple-filestables, and keep failed test names on one line (#159) - the coverage badge only takes a numeric value, so
"pct": "Unknown"shows0%instead ofNaN%(#159) - url-encode file paths in coverage table links, link windows
\paths with/, and don't link paths with..or absolute paths outside the workspace (#161) - fix an empty coverage report when a folder is named like an Object member (e.g.
constructor) (#157) - fix a missing failed tests report when a test file path has a lone utf-16 surrogate (#161)
- refactor: share the html escaping, path encoding and file link helpers (#156, #160)
Full Changelog: v1.0.37...v1.0.38