Skip to content

Commit f5fc5b8

Browse files
committed
fix: handle different timezones
1 parent c8ebe20 commit f5fc5b8

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tests/RequestLeave.test.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import { render, screen, fireEvent, waitFor, within } from '@testing-library/rea
33
import React from 'react'
44
import { RequestLeave } from '../src/components/Holidays/RequestLeave'
55

6-
// Mock toast - use vi.hoisted to ensure mocks are available before vi.mock runs
6+
// Mock toast - use vi.hoisted to ensure mocks are available, before vi.mock runs
77
const { mockToast, routerMock } = vi.hoisted(() => ({
88
mockToast: {
99
error: vi.fn(),

0 commit comments

Comments
 (0)