Skip to content

Commit

Permalink
test(sanity): fix tests for ReleaseForm
Browse files Browse the repository at this point in the history
  • Loading branch information
RitaDias committed Oct 30, 2024
1 parent f67fb29 commit b883eed
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,12 @@ vi.mock('../../../../store/release', () => ({
useReleases: vi.fn(),
}))

vi.mock('../../../i18n/hooks/useTranslation', () => ({
useTranslate: vi.fn().mockReturnValue({
t: vi.fn(),
}),
}))

const mockUseReleases = useReleases as Mock<typeof useReleases>
const mockUseDateTimeFormat = useDateTimeFormat as Mock

Expand Down

0 comments on commit b883eed

Please sign in to comment.