Skip to content

Commit

Permalink
[APM] Fix precommit script (#81594)
Browse files Browse the repository at this point in the history
  • Loading branch information
dgieselaar committed Oct 28, 2020
1 parent d16d005 commit 0d262ed
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 2 deletions.
1 change: 1 addition & 0 deletions x-pack/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
2 changes: 1 addition & 1 deletion x-pack/plugins/apm/scripts/precommit.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ const tasks = new Listr(
[
resolve(__dirname, './jest.js'),
'--reporters',
resolve(__dirname, './node_modules/jest-silent-reporter'),
resolve(__dirname, '../../../../node_modules/jest-silent-reporter'),
'--collect-coverage',
'false',
],
Expand Down
10 changes: 9 additions & 1 deletion yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -8239,7 +8239,7 @@ chai@3.5.0:
deep-eql "^0.1.3"
type-detect "^1.0.0"

chalk@2.4.2, chalk@^2.0.0, chalk@^2.0.1, chalk@^2.1.0, chalk@^2.3.0, chalk@^2.3.2, chalk@^2.4.1, chalk@^2.4.2, chalk@~2.4.1:
chalk@2.4.2, chalk@^2.0.0, chalk@^2.0.1, chalk@^2.1.0, chalk@^2.3.0, chalk@^2.3.1, chalk@^2.3.2, chalk@^2.4.1, chalk@^2.4.2, chalk@~2.4.1:
version "2.4.2"
resolved "https://registry.yarnpkg.com/chalk/-/chalk-2.4.2.tgz#cd42541677a54333cf541a49108c1432b44c9424"
integrity sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==
Expand Down Expand Up @@ -17341,6 +17341,14 @@ jest-serializer@^26.5.0:
"@types/node" "*"
graceful-fs "^4.2.4"

jest-silent-reporter@^0.2.1:
version "0.2.1"
resolved "https://registry.yarnpkg.com/jest-silent-reporter/-/jest-silent-reporter-0.2.1.tgz#554dd62b800989cdbcfba22bf30a1c0db6ad289c"
integrity sha512-nEO3oOFHtEXFjlRCbJOlvEWA7ZHyyyvMsU4WHuAhinYBOI4PiX1EIbsZfQZ/cxHcYliHBU9zY8bPxMPdBGksYw==
dependencies:
chalk "^2.3.1"
jest-util "^24.0.0"

jest-snapshot@^26.3.0, jest-snapshot@^26.4.2:
version "26.4.2"
resolved "https://registry.yarnpkg.com/jest-snapshot/-/jest-snapshot-26.4.2.tgz#87d3ac2f2bd87ea8003602fbebd8fcb9e94104f6"
Expand Down

0 comments on commit 0d262ed

Please sign in to comment.