From 2be77a6c26e66c1b024c04fa50bee201efd65060 Mon Sep 17 00:00:00 2001 From: mauroerta Date: Wed, 26 May 2021 22:29:32 +0200 Subject: [PATCH] feat: lcov reeporter added --- jest.base.js | 2 +- jest.config.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/jest.base.js b/jest.base.js index 1a302a2b..cf49fc70 100644 --- a/jest.base.js +++ b/jest.base.js @@ -4,7 +4,7 @@ module.exports = { testMatch: ['/(src|tests)/**/**.(spec|test).ts(x|)'], transform: { '^.+\\.(t|j)s$': 'ts-jest' }, coverageDirectory: './coverage', - coverageReporters: ['json-summary', 'html', 'text'], + coverageReporters: ['json-summary', 'html', 'text', 'lcov'], collectCoverageFrom: [ '/src/**/**', '!/src/**/**/index.ts', diff --git a/jest.config.js b/jest.config.js index 220f744d..57416df5 100644 --- a/jest.config.js +++ b/jest.config.js @@ -32,7 +32,7 @@ const projects = packages.map(package => { module.exports = { projects, coverageDirectory: './coverage', - coverageReporters: ['json-summary', 'text', 'html'], + coverageReporters: ['json-summary', 'text', 'html', 'lcov'], collectCoverageFrom: [ '/src/**/**', '!/src/**/**/index.ts',