From c5268c9382d8238503f46026a2dd5dece1c671fc Mon Sep 17 00:00:00 2001 From: Kasper Peulen Date: Tue, 28 Nov 2023 10:17:29 +0100 Subject: [PATCH] Downgrade testing library to 14.3.0 to prevent firefox issues https://github.com/testing-library/user-event/issues/1075 --- 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 e24e700c030c..2be0a48b6392 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: