diff --git a/package.json b/package.json index edf9f47d..a89565f6 100644 --- a/package.json +++ b/package.json @@ -28,7 +28,7 @@ }, "devDependencies": { "@microsoft/api-extractor": "^7.3.9", - "@types/jest": "^24.0.18", + "@types/jest": "^24.0.21", "brotli": "^1.3.2", "chalk": "^2.4.2", "execa": "^2.0.4", diff --git a/packages/runtime-test/src/jestUtils.ts b/packages/runtime-test/src/jestUtils.ts index 6e488fb9..f134fbbc 100644 --- a/packages/runtime-test/src/jestUtils.ts +++ b/packages/runtime-test/src/jestUtils.ts @@ -1,6 +1,6 @@ declare global { namespace jest { - interface Matchers { + interface Matchers { toHaveBeenWarned(): R toHaveBeenWarnedLast(): R toHaveBeenWarnedTimes(n: number): R diff --git a/yarn.lock b/yarn.lock index 7bf0a24d..06bdf44d 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1250,10 +1250,10 @@ resolved "https://registry.yarnpkg.com/@types/jest-diff/-/jest-diff-20.0.1.tgz#35cc15b9c4f30a18ef21852e255fdb02f6d59b89" integrity sha512-yALhelO3i0hqZwhjtcr6dYyaLoCHbAMshwtj6cGxTvHZAKXHsYGdff6E8EPw3xLKY0ELUTQ69Q1rQiJENnccMA== -"@types/jest@^24.0.18": - 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.21": + version "24.0.21" + resolved "https://registry.yarnpkg.com/@types/jest/-/jest-24.0.21.tgz#2c0a25440e025bb265f4a17d8b79b11b231426bf" + integrity sha512-uyqFvx78Tuy0h5iLCPWRCvi5HhWwEqhIj30doitp191oYLqlCxUyAJHdWVm5+Nr271/vPnkyt6rWeEIjGowBTg== dependencies: "@types/jest-diff" "*"