karma-runner / karma-runner/karma-coverage
Report Row Character limit should be configurable instead of 80
- Dominant language
- JavaScript
- Stars
- 771
- Forks
- 242
- PR merge metrics
- No merged PRs in 30d
Description
When using repor type="text" the number of row characters were limited to 80.
Ex: { type: "text", subdir: ".", file: "full-coverage.txt" }
we are seeing the response as below
-------------------|---------|----------|---------|---------|-------------------
File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line
-------------------|---------|----------|---------|---------|-------------------
All files | 91.79 | 73.12 | 89.68 | 91.84 |
app | 89.47 | 40 | 100 | 89.47 |
app.component.ts | 89.47 | 40 | 100 | 89.47 | 37-38
**...rmation-dialog** | 100 | 100 | 100 | 100 |
**....component.ts** | 100 | 100 | 100 | 100 |
This is giving hard time to understand which component.
We should have a way to override this 80 character limit, any workaround is appreciated.
Contributor guide
Research direction
Start by locating the text report implementation and the code that enforces the 80-character row limit. Check how report type="text" options are handled, then verify that a configurable width preserves the existing output by default and allows longer component names when overridden.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- testing-qa
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100