From d04a8fad4cbc2abb7b37886225d03a4da947c05c Mon Sep 17 00:00:00 2001 From: Jan Prochazka Date: Thu, 27 Nov 2025 14:55:37 +0100 Subject: [PATCH] jest reporters --- integration-tests/jest.config.js | 5 +++-- package.json | 2 ++ packages/datalib/jest.config.js | 5 +++-- packages/filterparser/jest.config.js | 5 +++-- packages/tools/jest.config.js | 5 +++-- 5 files changed, 14 insertions(+), 8 deletions(-) diff --git a/integration-tests/jest.config.js b/integration-tests/jest.config.js index a616d6913..a13fd1c42 100644 --- a/integration-tests/jest.config.js +++ b/integration-tests/jest.config.js @@ -1,7 +1,8 @@ module.exports = { setupFilesAfterEnv: ['/setupTests.js'], reporters: [ - 'summary', // nice overall summary - 'github-actions', // adds inline annotations in PRs + 'default', + 'jest-summary-reporter', + 'jest-github-actions-reporter', ], }; diff --git a/package.json b/package.json index 04a4c1055..397282ad9 100644 --- a/package.json +++ b/package.json @@ -84,6 +84,8 @@ }, "devDependencies": { "copyfiles": "^2.2.0", + "jest-github-actions-reporter": "^1.0.3", + "jest-summary-reporter": "^0.0.2", "prettier": "^2.2.1", "workspaces-run": "^1.0.1" } diff --git a/packages/datalib/jest.config.js b/packages/datalib/jest.config.js index 4ce2c6ba7..defb19a38 100644 --- a/packages/datalib/jest.config.js +++ b/packages/datalib/jest.config.js @@ -3,7 +3,8 @@ module.exports = { testEnvironment: 'node', moduleFileExtensions: ['js'], reporters: [ - 'summary', // nice overall summary - 'github-actions', // adds inline annotations in PRs + 'default', + 'jest-summary-reporter', + 'jest-github-actions-reporter', ], }; diff --git a/packages/filterparser/jest.config.js b/packages/filterparser/jest.config.js index 4ce2c6ba7..defb19a38 100644 --- a/packages/filterparser/jest.config.js +++ b/packages/filterparser/jest.config.js @@ -3,7 +3,8 @@ module.exports = { testEnvironment: 'node', moduleFileExtensions: ['js'], reporters: [ - 'summary', // nice overall summary - 'github-actions', // adds inline annotations in PRs + 'default', + 'jest-summary-reporter', + 'jest-github-actions-reporter', ], }; diff --git a/packages/tools/jest.config.js b/packages/tools/jest.config.js index faecf7d0d..a56ee9909 100644 --- a/packages/tools/jest.config.js +++ b/packages/tools/jest.config.js @@ -3,7 +3,8 @@ module.exports = { testEnvironment: 'node', moduleFileExtensions: ['js'], reporters: [ - 'summary', // nice overall summary - 'github-actions', // adds inline annotations in PRs + 'default', + 'jest-summary-reporter', + 'jest-github-actions-reporter', ], };