From 5c866a3bdb8aa7bc4d306090d141e3860986d9ec Mon Sep 17 00:00:00 2001 From: Dario Gieselaar Date: Mon, 26 Oct 2020 12:09:54 +0100 Subject: [PATCH] Move jest-silent-reporter to x-pack dependencies --- package.json | 1 - x-pack/package.json | 1 + x-pack/plugins/apm/scripts/precommit.js | 2 -- 3 files changed, 1 insertion(+), 3 deletions(-) diff --git a/package.json b/package.json index 60f6d84ca579a..3a2d13fd5ef3b 100644 --- a/package.json +++ b/package.json @@ -428,7 +428,6 @@ "jest-cli": "^26.4.2", "jest-environment-jsdom-thirteen": "^1.0.1", "jest-raw-loader": "^1.0.1", - "jest-silent-reporter": "^0.2.1", "jest-when": "^2.7.2", "jimp": "^0.14.0", "jquery": "^3.5.0", diff --git a/x-pack/package.json b/x-pack/package.json index 77dc2e662dd28..ec4388c0b8b7d 100644 --- a/x-pack/package.json +++ b/x-pack/package.json @@ -183,6 +183,7 @@ "jest": "^26.4.2", "jest-circus": "^26.4.2", "jest-cli": "^26.4.2", + "jest-silent-reporter": "^0.2.1", "jest-styled-components": "^7.0.2", "js-search": "^1.4.3", "jsdom": "13.1.0", diff --git a/x-pack/plugins/apm/scripts/precommit.js b/x-pack/plugins/apm/scripts/precommit.js index f925410857034..ec38ec88f5503 100644 --- a/x-pack/plugins/apm/scripts/precommit.js +++ b/x-pack/plugins/apm/scripts/precommit.js @@ -61,8 +61,6 @@ tasks.run().catch((error) => { // from src/dev/typescript/exec_in_projects.ts process.exitCode = 1; - console.log(error); - const errors = error.errors || [error]; for (const e of errors) {