Skip to content

[Bug]: GitHub long report table lines #15891

@Netail

Description

@Netail

Version

30.1.3

Steps to reproduce

https://codesandbox.io/p/devbox/7rvrj6

  1. Have a very long file path or "uncovered lines"
  2. Run tests with a coverage report in a github action

Expected behavior

Format the reports table that long line will be cut and displayed on multiple lines

Actual behavior

Image Here the uncovered lines line is a bit long, so it will also create a very long table heading line. Which in GitHub wraps, which looks very silly
Image Here somewhere down in the table, there's a very long file name, causing the same long line issue Image

Additional context

No response

Environment

System:
  OS: macOS 26.0.1
  CPU: (10) arm64 Apple M1 Max
Binaries:
  Node: 24.11.0 - <User>/.nvm/versions/node/v24.11.0/bin/node
  npm: 11.6.1 - <User>/.nvm/versions/node/v24.11.0/bin/npm
  pnpm: 10.20.0 - <User>/.nvm/versions/node/v24.11.0/bin/pnpm
npmPackages:
  jest: 30.1.3

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions