diff --git a/packages/frontend-test-utils/package.json b/packages/frontend-test-utils/package.json index b3438aa15f..7e833016dd 100644 --- a/packages/frontend-test-utils/package.json +++ b/packages/frontend-test-utils/package.json @@ -33,10 +33,10 @@ "@backstage/frontend-app-api": "workspace:^", "@backstage/frontend-plugin-api": "workspace:^", "@backstage/test-utils": "workspace:^", - "@backstage/types": "workspace:^", - "@testing-library/react": "^14.0.0" + "@backstage/types": "workspace:^" }, "peerDependencies": { + "@testing-library/react": "^12.1.3 || ^13.0.0 || ^14.0.0", "react": "^16.13.1 || ^17.0.0 || ^18.0.0" } } diff --git a/yarn.lock b/yarn.lock index 82375d0b30..c030b13f91 100644 --- a/yarn.lock +++ b/yarn.lock @@ -4356,8 +4356,8 @@ __metadata: "@backstage/test-utils": "workspace:^" "@backstage/types": "workspace:^" "@testing-library/jest-dom": ^6.0.0 - "@testing-library/react": ^14.0.0 peerDependencies: + "@testing-library/react": ^12.1.3 || ^13.0.0 || ^14.0.0 react: ^16.13.1 || ^17.0.0 || ^18.0.0 languageName: unknown linkType: soft