From c8ef592eaed7b54324cdeeaf111dbcf9a6e95237 Mon Sep 17 00:00:00 2001 From: Kasper Peulen Date: Tue, 28 Nov 2023 12:06:45 +0100 Subject: [PATCH] Merge pull request #25004 from storybookjs/kasper/downgrade-testing-lib Test: Downgrade @testing-library/user-event to 14.3.0 (cherry picked from commit f304715f809bc51719689dea4a6f3d304ab81965) --- code/lib/test/package.json | 2 +- code/yarn.lock | 13 +++++++++++-- 2 files changed, 12 insertions(+), 3 deletions(-) diff --git a/code/lib/test/package.json b/code/lib/test/package.json index 3a9ac93a2adc..d9d50e05b572 100644 --- a/code/lib/test/package.json +++ b/code/lib/test/package.json @@ -49,7 +49,7 @@ "@storybook/preview-api": "workspace:*", "@testing-library/dom": "^9.3.1", "@testing-library/jest-dom": "^6.1.3", - "@testing-library/user-event": "^14.4.3", + "@testing-library/user-event": "14.3.0", "@types/chai": "^4", "@vitest/expect": "^0.34.2", "@vitest/spy": "^0.34.1", diff --git a/code/yarn.lock b/code/yarn.lock index be5721edec43..ad90083b8b36 100644 --- a/code/yarn.lock +++ b/code/yarn.lock @@ -7697,7 +7697,7 @@ __metadata: "@storybook/preview-api": "workspace:*" "@testing-library/dom": "npm:^9.3.1" "@testing-library/jest-dom": "npm:^6.1.3" - "@testing-library/user-event": "npm:^14.4.3" + "@testing-library/user-event": "npm:14.3.0" "@types/chai": "npm:^4" "@vitest/expect": "npm:^0.34.2" "@vitest/spy": "npm:^0.34.1" @@ -8368,6 +8368,15 @@ __metadata: languageName: node linkType: hard +"@testing-library/user-event@npm:14.3.0": + version: 14.3.0 + resolution: "@testing-library/user-event@npm:14.3.0" + peerDependencies: + "@testing-library/dom": ">=7.21.4" + checksum: 8a0e708709f2510287568dff668bc7d6f5c4e7e17407452b7aa0fcf74732dccf511c63fc76ac514d753cb1f0586c1def59ba7f5245a9523715d37a8f198745d3 + languageName: node + linkType: hard + "@testing-library/user-event@npm:^13.2.1": version: 13.5.0 resolution: "@testing-library/user-event@npm:13.5.0" @@ -8379,7 +8388,7 @@ __metadata: languageName: node linkType: hard -"@testing-library/user-event@npm:^14.4.0, @testing-library/user-event@npm:^14.4.3": +"@testing-library/user-event@npm:^14.4.0": version: 14.5.1 resolution: "@testing-library/user-event@npm:14.5.1" peerDependencies: