From a1438d3f7b7e51ca9686c07b9ce1dd86f48f5f5a Mon Sep 17 00:00:00 2001 From: Simen Bekkhus Date: Wed, 22 Jan 2020 09:36:14 +0100 Subject: [PATCH] fix: use default maxCols from Istanbul --- packages/jest-reporters/src/coverage_reporter.ts | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/packages/jest-reporters/src/coverage_reporter.ts b/packages/jest-reporters/src/coverage_reporter.ts index 5966bdde9600..98a6aa9efea1 100644 --- a/packages/jest-reporters/src/coverage_reporter.ts +++ b/packages/jest-reporters/src/coverage_reporter.ts @@ -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); }); @@ -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