From 6ed9d88b033700298463babb41643a5dca3ed117 Mon Sep 17 00:00:00 2001 From: sashka neyman Date: Fri, 30 Apr 2021 10:21:57 +0300 Subject: [PATCH] jest config lcov fix --- jest.config.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/jest.config.ts b/jest.config.ts index 857cf2f..953f030 100644 --- a/jest.config.ts +++ b/jest.config.ts @@ -5,8 +5,9 @@ export default { testPathIgnorePatterns: ['/node_modules/'], collectCoverage: true, coverageDirectory: './coverage', + coverageReporters: ['html', ["lcovonly", {"projectRoot": __dirname}], 'text-summary'], coveragePathIgnorePatterns: ['node_modules', 'dist'], - coverageReporters: ['html', 'text', 'json'], +// coverageReporters: ['html', 'text', 'json','lcov'], globals: { 'ts-jest': { diagnostics: false } }, transform: {}, };