diff --git a/package.json b/package.json index 133c15e9c355d0..71f68eb86f7c63 100644 --- a/package.json +++ b/package.json @@ -203,7 +203,6 @@ "jest-sentry-environment": "3.0.0", "postcss-styled-syntax": "0.6.4", "react-refresh": "0.14.0", - "react-test-renderer": "18.2.0", "stylelint": "16.2.1", "stylelint-config-recommended": "^14.0.0", "terser": "5.27.0", diff --git a/static/app/views/issueDetails/groupReplays/useReplaysForRegressionIssue.spec.tsx b/static/app/views/issueDetails/groupReplays/useReplaysForRegressionIssue.spec.tsx index 36130a959c5c05..dcc83cefa2fd95 100644 --- a/static/app/views/issueDetails/groupReplays/useReplaysForRegressionIssue.spec.tsx +++ b/static/app/views/issueDetails/groupReplays/useReplaysForRegressionIssue.spec.tsx @@ -1,10 +1,9 @@ -import {act} from 'react-test-renderer'; import type {Location} from 'history'; import {EventFixture} from 'sentry-fixture/event'; import {GroupFixture} from 'sentry-fixture/group'; import {OrganizationFixture} from 'sentry-fixture/organization'; -import {renderHook, waitFor} from 'sentry-test/reactTestingLibrary'; +import {act, renderHook, waitFor} from 'sentry-test/reactTestingLibrary'; import type {EventOccurrence} from 'sentry/types'; import {IssueCategory} from 'sentry/types'; diff --git a/static/app/views/replays/detail/errorList/useSortErrors.spec.tsx b/static/app/views/replays/detail/errorList/useSortErrors.spec.tsx index bd22893f109d49..7039ff2edcaed5 100644 --- a/static/app/views/replays/detail/errorList/useSortErrors.spec.tsx +++ b/static/app/views/replays/detail/errorList/useSortErrors.spec.tsx @@ -1,8 +1,7 @@ -import {act} from 'react-test-renderer'; import {RawReplayErrorFixture} from 'sentry-fixture/replay/error'; import {ReplayRecordFixture} from 'sentry-fixture/replayRecord'; -import {renderHook} from 'sentry-test/reactTestingLibrary'; +import {act, renderHook} from 'sentry-test/reactTestingLibrary'; import hydrateErrors from 'sentry/utils/replays/hydrateErrors'; import useSortErrors from 'sentry/views/replays/detail/errorList/useSortErrors'; diff --git a/static/app/views/replays/detail/network/useSortNetwork.spec.tsx b/static/app/views/replays/detail/network/useSortNetwork.spec.tsx index b215bbbe5d7263..063ed1875d56c1 100644 --- a/static/app/views/replays/detail/network/useSortNetwork.spec.tsx +++ b/static/app/views/replays/detail/network/useSortNetwork.spec.tsx @@ -1,4 +1,3 @@ -import {act} from 'react-test-renderer'; import { ReplayNavigationFrameFixture, ReplayNavigationPushFrameFixture, @@ -7,7 +6,7 @@ import { } from 'sentry-fixture/replay/replaySpanFrameData'; import {ReplayRecordFixture} from 'sentry-fixture/replayRecord'; -import {renderHook} from 'sentry-test/reactTestingLibrary'; +import {act, renderHook} from 'sentry-test/reactTestingLibrary'; import hydrateSpans from 'sentry/utils/replays/hydrateSpans'; diff --git a/yarn.lock b/yarn.lock index d49ff065aeb253..ed61af2f5f1efa 100644 --- a/yarn.lock +++ b/yarn.lock @@ -10245,11 +10245,6 @@ react-input-autosize@^3.0.0: dependencies: prop-types "^15.5.8" -"react-is@^16.12.0 || ^17.0.0 || ^18.0.0", react-is@^18.0.0, react-is@^18.2.0: - version "18.2.0" - resolved "https://registry.yarnpkg.com/react-is/-/react-is-18.2.0.tgz#199431eeaaa2e09f86427efbb4f1473edb47609b" - integrity sha512-xWGDIW6x921xtzPkhiULtthJHoJvBbF3q26fzloPCK0hsvxtPVelvftw3zjbHWSkR2km9Z+4uxbDDK/6Zw9B8w== - react-is@^16.13.1, react-is@^16.7.0: version "16.13.1" resolved "https://registry.yarnpkg.com/react-is/-/react-is-16.13.1.tgz#789729a4dc36de2999dc156dd6c1d9c18cea56a4" @@ -10260,6 +10255,11 @@ react-is@^17.0.1: resolved "https://registry.yarnpkg.com/react-is/-/react-is-17.0.2.tgz#e691d4a8e9c789365655539ab372762b0efb54f0" integrity sha512-w2GsyukL62IJnlaff/nRegPQR94C/XXamvMWmSHRJ4y7Ts/4ocGRmTHvOs8PSE6pB3dWOrD/nueuU5sduBsQ4w== +react-is@^18.0.0: + version "18.2.0" + resolved "https://registry.yarnpkg.com/react-is/-/react-is-18.2.0.tgz#199431eeaaa2e09f86427efbb4f1473edb47609b" + integrity sha512-xWGDIW6x921xtzPkhiULtthJHoJvBbF3q26fzloPCK0hsvxtPVelvftw3zjbHWSkR2km9Z+4uxbDDK/6Zw9B8w== + react-lazyload@^3.2.1: version "3.2.1" resolved "https://registry.yarnpkg.com/react-lazyload/-/react-lazyload-3.2.1.tgz#320087741ee6aaf693369b67690799423ed4d7a3" @@ -10334,14 +10334,6 @@ react-select@4.3.1: react-input-autosize "^3.0.0" react-transition-group "^4.3.0" -react-shallow-renderer@^16.15.0: - version "16.15.0" - resolved "https://registry.yarnpkg.com/react-shallow-renderer/-/react-shallow-renderer-16.15.0.tgz#48fb2cf9b23d23cde96708fe5273a7d3446f4457" - integrity sha512-oScf2FqQ9LFVQgA73vr86xl2NaOIX73rh+YFqcOp68CWj56tSfgtGKrEbyhCj0rSijyG9M1CYprTh39fBi5hzA== - dependencies: - object-assign "^4.1.1" - react-is "^16.12.0 || ^17.0.0 || ^18.0.0" - react-sparklines@1.7.0: version "1.7.0" resolved "https://registry.yarnpkg.com/react-sparklines/-/react-sparklines-1.7.0.tgz#9b1d97e8c8610095eeb2ad658d2e1fcf91f91a60" @@ -10349,15 +10341,6 @@ react-sparklines@1.7.0: dependencies: prop-types "^15.5.10" -react-test-renderer@18.2.0: - version "18.2.0" - resolved "https://registry.yarnpkg.com/react-test-renderer/-/react-test-renderer-18.2.0.tgz#1dd912bd908ff26da5b9fca4fd1c489b9523d37e" - integrity sha512-JWD+aQ0lh2gvh4NM3bBM42Kx+XybOxCpgYK7F8ugAlpaTSnWsX+39Z4XkOykGZAHrjwwTZT3x3KxswVWxHPUqA== - dependencies: - react-is "^18.2.0" - react-shallow-renderer "^16.15.0" - scheduler "^0.23.0" - react-transition-group@^4.3.0: version "4.4.2" resolved "https://registry.yarnpkg.com/react-transition-group/-/react-transition-group-4.4.2.tgz#8b59a56f09ced7b55cbd53c36768b922890d5470"