Skip to content

Commit

Permalink
changes done
Browse files Browse the repository at this point in the history
  • Loading branch information
khushipatil1523 committed Dec 22, 2024
1 parent 89b0435 commit c7fe02c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/Advertisements/Advertisements.spec.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import React, { act } from 'react';
import { describe, test, expect, vi } from 'vitest';
import '@testing-library/jest-dom';


import {
ApolloClient,
Expand Down Expand Up @@ -486,7 +486,7 @@ describe('Testing Advertisement Component', () => {
dateObject = new Date(year, monthIndex, day);
}

expect(dateObject.getTime()).toBeGreaterThan(new Date().getTime());
expect(dateObject.getTime()).toBeLessThan(new Date().getTime());
});

test('delete ad', async () => {
Expand Down

0 comments on commit c7fe02c

Please sign in to comment.