From ab43d3c06a987df43a7c161314924d4444cf7b70 Mon Sep 17 00:00:00 2001 From: Peter Bengtsson Date: Tue, 12 Sep 2023 13:13:41 -0400 Subject: [PATCH] Remove jest-github-actions-reporter (#42435) --- jest.config.js | 6 +----- package-lock.json | 9 --------- package.json | 1 - 3 files changed, 1 insertion(+), 15 deletions(-) diff --git a/jest.config.js b/jest.config.js index 11c1d2c659be..6202eeb47308 100644 --- a/jest.config.js +++ b/jest.config.js @@ -2,11 +2,7 @@ const isActions = Boolean(process.env.GITHUB_ACTIONS) -const reporters = ['default'] - -if (isActions) { - reporters.push('jest-github-actions-reporter') -} +const reporters = ['default', 'github-actions'] export default { preset: 'ts-jest', diff --git a/package-lock.json b/package-lock.json index b9004757769d..4260e3a467c0 100644 --- a/package-lock.json +++ b/package-lock.json @@ -130,7 +130,6 @@ "jest": "29.6.4", "jest-expect-message": "1.1.3", "jest-fail-on-console": "^3.1.1", - "jest-github-actions-reporter": "^1.0.3", "jest-slow-test-reporter": "^1.0.0", "json-schema-merge-allof": "^0.8.1", "kill-port": "2.0.1", @@ -8592,14 +8591,6 @@ "node": "^14.15.0 || ^16.10.0 || >=18.0.0" } }, - "node_modules/jest-github-actions-reporter": { - "version": "1.0.3", - "dev": true, - "license": "ISC", - "dependencies": { - "@actions/core": "^1.2.0" - } - }, "node_modules/jest-haste-map": { "version": "29.6.4", "resolved": "https://registry.npmjs.org/jest-haste-map/-/jest-haste-map-29.6.4.tgz", diff --git a/package.json b/package.json index 0aa4cddcb0a9..724bb610a50e 100644 --- a/package.json +++ b/package.json @@ -179,7 +179,6 @@ "jest": "29.6.4", "jest-expect-message": "1.1.3", "jest-fail-on-console": "^3.1.1", - "jest-github-actions-reporter": "^1.0.3", "jest-slow-test-reporter": "^1.0.0", "json-schema-merge-allof": "^0.8.1", "kill-port": "2.0.1",