From 27c3eb985140aa4606860f7b63bc73493b25ff29 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Tue, 19 Nov 2019 09:14:42 +0100 Subject: [PATCH] chore(deps): update dependency @types/jest to v24.0.23 (#4742) --- package.json | 2 +- test/types/jest.d.ts | 4 ++-- yarn.lock | 17 ++++++----------- 3 files changed, 9 insertions(+), 14 deletions(-) diff --git a/package.json b/package.json index cb62006576..9826dd95d2 100644 --- a/package.json +++ b/package.json @@ -176,7 +176,7 @@ "@types/github-url-from-git": "1.5.0", "@types/got": "9.6.9", "@types/ini": "1.3.30", - "@types/jest": "24.0.19", + "@types/jest": "24.0.23", "@types/js-yaml": "3.12.1", "@types/later": "1.2.5", "@types/lodash": "4.14.148", diff --git a/test/types/jest.d.ts b/test/types/jest.d.ts index ffc34fccce..6da40ff9c1 100644 --- a/test/types/jest.d.ts +++ b/test/types/jest.d.ts @@ -1,9 +1,9 @@ declare namespace jest { - interface Matchers<R> { + interface Matchers<R, T> { /** * only available in `test/website-docs.spec.js` * @param arg */ - toContainOption(arg: R): void; + toContainOption(arg: T): void; } } diff --git a/yarn.lock b/yarn.lock index 0085ff4b8b..f4465877a7 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1212,17 +1212,12 @@ "@types/istanbul-lib-coverage" "*" "@types/istanbul-lib-report" "*" -"@types/jest-diff@*": - version "20.0.1" - resolved "https://registry.yarnpkg.com/@types/jest-diff/-/jest-diff-20.0.1.tgz#35cc15b9c4f30a18ef21852e255fdb02f6d59b89" - integrity sha512-yALhelO3i0hqZwhjtcr6dYyaLoCHbAMshwtj6cGxTvHZAKXHsYGdff6E8EPw3xLKY0ELUTQ69Q1rQiJENnccMA== - -"@types/jest@24.0.19": - version "24.0.19" - resolved "https://registry.yarnpkg.com/@types/jest/-/jest-24.0.19.tgz#f7036058d2a5844fe922609187c0ad8be430aff5" - integrity sha512-YYiqfSjocv7lk5H/T+v5MjATYjaTMsUkbDnjGqSMoO88jWdtJXJV4ST/7DKZcoMHMBvB2SeSfyOzZfkxXHR5xg== +"@types/jest@24.0.23": + version "24.0.23" + resolved "https://registry.yarnpkg.com/@types/jest/-/jest-24.0.23.tgz#046f8e2ade026fe831623e361a36b6fb9a4463e4" + integrity sha512-L7MBvwfNpe7yVPTXLn32df/EK+AMBFAFvZrRuArGs7npEWnlziUXK+5GMIUTI4NIuwok3XibsjXCs5HxviYXjg== dependencies: - "@types/jest-diff" "*" + jest-diff "^24.3.0" "@types/js-yaml@3.12.1": version "3.12.1" @@ -4901,7 +4896,7 @@ jest-config@^24.9.0: pretty-format "^24.9.0" realpath-native "^1.1.0" -jest-diff@^24.9.0: +jest-diff@^24.3.0, jest-diff@^24.9.0: version "24.9.0" resolved "https://registry.yarnpkg.com/jest-diff/-/jest-diff-24.9.0.tgz#931b7d0d5778a1baf7452cb816e325e3724055da" integrity sha512-qMfrTs8AdJE2iqrTp0hzh7kTd2PQWrsFyj9tORoKmu32xjPjeE4NyjVRDz8ybYwqS2ik8N4hsIpiVTyFeo2lBQ== -- GitLab