From 5197878b7960c51c21273dfd7df7cae40d679ad6 Mon Sep 17 00:00:00 2001 From: gianantoniopini <63844628+gianantoniopini@users.noreply.github.com> Date: Mon, 4 Jan 2021 12:35:02 +0100 Subject: [PATCH] Jest configuration: updated settings for code coverage --- jest.config.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/jest.config.js b/jest.config.js index 5bf33e08..2d83acea 100644 --- a/jest.config.js +++ b/jest.config.js @@ -6,8 +6,8 @@ module.exports = { '!\\.cache/**', '!node_modules/**', '!public/**', + '!test-coverage/**', ], - coverageReporters: ['lcov'], coverageDirectory: 'test-coverage', coverageThreshold: { global: { @@ -17,6 +17,7 @@ module.exports = { statements: 0, }, }, + verbose: true, transform: { '^.+\\.jsx?$': `/jest-preprocess.js`, },