From cdb12bb4c28aa33421da72136d4c69d63952b8fc Mon Sep 17 00:00:00 2001 From: Jordan Lawrence Date: Fri, 20 Dec 2024 14:08:09 +0000 Subject: [PATCH] refactor: tidy to ReleasesOverview.test --- .../releases/tool/overview/__tests__/ReleasesOverview.test.tsx | 3 --- 1 file changed, 3 deletions(-) diff --git a/packages/sanity/src/core/releases/tool/overview/__tests__/ReleasesOverview.test.tsx b/packages/sanity/src/core/releases/tool/overview/__tests__/ReleasesOverview.test.tsx index 43e0e2f1fcd..fc8e079e4f3 100644 --- a/packages/sanity/src/core/releases/tool/overview/__tests__/ReleasesOverview.test.tsx +++ b/packages/sanity/src/core/releases/tool/overview/__tests__/ReleasesOverview.test.tsx @@ -1,7 +1,6 @@ import {act, fireEvent, render, screen, waitFor, within} from '@testing-library/react' import {format, set} from 'date-fns' import {useState} from 'react' -// import {usePerspective} from 'sanity' import {useRouter} from 'sanity/router' import {beforeEach, describe, expect, it, vi} from 'vitest' @@ -201,8 +200,6 @@ describe('ReleasesOverview', () => { beforeEach(async () => { mockUseTimeZone.mockRestore() - mockGetLocaleTimeZone.mockRestore() - mockUsePerspective.mockRestore() mockUseReleases.mockReturnValue({ ...useReleasesMockReturn, archivedReleases: [archivedScheduledRelease, publishedASAPRelease],