Skip to content

Commit

Permalink
refactor: tidy to ReleasesOverview.test
Browse files Browse the repository at this point in the history
  • Loading branch information
jordanl17 committed Dec 20, 2024
1 parent 4c5620a commit cdb12bb
Showing 1 changed file with 0 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -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'

Expand Down Expand Up @@ -201,8 +200,6 @@ describe('ReleasesOverview', () => {

beforeEach(async () => {
mockUseTimeZone.mockRestore()
mockGetLocaleTimeZone.mockRestore()
mockUsePerspective.mockRestore()
mockUseReleases.mockReturnValue({
...useReleasesMockReturn,
archivedReleases: [archivedScheduledRelease, publishedASAPRelease],
Expand Down

0 comments on commit cdb12bb

Please sign in to comment.