message: Reduce coverage files path length
diff: @@ -54,9 +54,13 @@ function processResult(result: Result): Result {
  if (!jestConfig.testResultsProcessor) return result;
  + if (jestConfig.coverageDirectory && jestConfig.coverageDirectory.startsWith(root)) {
  + jestConfig.coverageDirectory = '.' + jestConfig.coverageDirectory.substr(root.length);
  + }
  +
  const coverageConfig = {
  collectCoverage: jestConfig.collectCoverage ? jestConfig.collectCoverage : true,
  - coverageDirectory: jestConfig.coverageDirectory ? jestConfig.coverageDirectory : path.join(root, 'coverage'),
  + coverageDirectory: jestConfig.coverageDirectory ? jestConfig.coverageDirectory : './coverage',
  coverageReporters: jestConfig.coverageReporters
  };
  @@ -104,7 +108,7 @@ function processResult(result: Result): Result {
  writeReport(coverageCollector, 'html', {}, path.join(coverageOutputPath, 'html'));
  writeReport(coverageCollector, 'lcovonly', {}, path.join(coverageOutputPath, 'lcov.info'));
  writeReport(coverageCollector, 'json', {}, path.join(coverageOutputPath, 'coverage.json'));
  - writeReport(coverageCollector, 'text', { dir: '/' }, path.join(coverageOutputPath, 'coverage.txt'));
  + writeReport(coverageCollector, 'text', {}, path.join(coverageOutputPath, 'coverage.txt'));
  return result;
  }
  