Skip to content

Commit

Permalink
fix: use default maxCols from Istanbul
Browse files Browse the repository at this point in the history
  • Loading branch information
SimenB committed May 3, 2020
1 parent 2e8f8d5 commit a1438d3
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions packages/jest-reporters/src/coverage_reporter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -92,10 +92,7 @@ export default class CoverageReporter extends BaseReporter {
[reporter, additionalOptions] = reporter;
}
istanbulReports
.create(reporter, {
maxCols: process.stdout.columns || Infinity,
...additionalOptions,
})
.create(reporter, additionalOptions)
// @ts-ignore
.execute(reportContext);
});
Expand Down Expand Up @@ -490,7 +487,6 @@ export default class CoverageReporter extends BaseReporter {
const reportContext = istanbulReport.createContext(
// @ts-ignore
{
// @ts-ignore
coverageMap: map,
dir: this._globalConfig.coverageDirectory,
// @ts-ignore
Expand Down

0 comments on commit a1438d3

Please sign in to comment.