Skip to content

Commit

Permalink
Update jalali test
Browse files Browse the repository at this point in the history
  • Loading branch information
gpbl committed Dec 22, 2024
1 parent cbdded4 commit 8e92c93
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions examples/Jalali.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,12 @@ import { render } from "@/test/render";

import { Jalali } from "./Jalali";

const today = new Date(1403, 10, 25);
const today = new Date(2024, 11, 22);

beforeAll(() => jest.setSystemTime(today));
afterAll(() => jest.useRealTimers());

// eslint-disable-next-line jest/no-disabled-tests
test.skip("should render خرداد 1403", () => {
test("should render دی 1403", () => {
render(<Jalali />);
expect(grid("خرداد 1403")).toBeInTheDocument();
expect(grid("دی 1403")).toBeInTheDocument();
});

0 comments on commit 8e92c93

Please sign in to comment.