From 9da7d28c219e62df8c897b2182ae9bd6ae77b0d9 Mon Sep 17 00:00:00 2001 From: Benjamin Koltes Date: Wed, 27 Oct 2021 10:51:31 +0200 Subject: [PATCH 1/3] Set @types/jsdom in deps --- packages/jest-environment-jsdom/package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/jest-environment-jsdom/package.json b/packages/jest-environment-jsdom/package.json index 4fd14807fd3c..07c912f3ccec 100644 --- a/packages/jest-environment-jsdom/package.json +++ b/packages/jest-environment-jsdom/package.json @@ -16,6 +16,7 @@ "dependencies": { "@jest/environment": "^27.3.1", "@jest/fake-timers": "^27.3.1", + "@types/jsdom": "^16.2.4", "@jest/types": "^27.2.5", "@types/node": "*", "jest-mock": "^27.3.0", @@ -23,8 +24,7 @@ "jsdom": "^16.6.0" }, "devDependencies": { - "@jest/test-utils": "^27.3.1", - "@types/jsdom": "^16.2.4" + "@jest/test-utils": "^27.3.1" }, "engines": { "node": "^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0" From e1733cf7f16a24f4e01c9b0eaffdb64858b00493 Mon Sep 17 00:00:00 2001 From: Simen Bekkhus Date: Wed, 27 Oct 2021 11:24:58 +0200 Subject: [PATCH 2/3] Update CHANGELOG.md --- CHANGELOG.md | 1 + 1 file changed, 1 insertion(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 6daba1c00e5f..d7cd6accaa41 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,7 @@ ### Fixes - `[expect]` Allow again `expect.Matchers` generic with single value ([#11986](https://github.com/facebook/jest/pull/11986)) +- `[jest-environment-jsdom]` Add `@types/jsdom` dependency ([#11999](https://github.com/facebook/jest/pull/11999)) ### Chore & Maintenance From b1d7d5ed6cb77b5292b4a58519616021189bd19b Mon Sep 17 00:00:00 2001 From: Simen Bekkhus Date: Wed, 27 Oct 2021 11:25:44 +0200 Subject: [PATCH 3/3] sort it --- packages/jest-environment-jsdom/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/jest-environment-jsdom/package.json b/packages/jest-environment-jsdom/package.json index 07c912f3ccec..99768919155b 100644 --- a/packages/jest-environment-jsdom/package.json +++ b/packages/jest-environment-jsdom/package.json @@ -16,8 +16,8 @@ "dependencies": { "@jest/environment": "^27.3.1", "@jest/fake-timers": "^27.3.1", - "@types/jsdom": "^16.2.4", "@jest/types": "^27.2.5", + "@types/jsdom": "^16.2.4", "@types/node": "*", "jest-mock": "^27.3.0", "jest-util": "^27.3.1",