Skip to content

Commit 1715aa8

Browse files
authored
Remove hasCalendarEventStarted flaky test (#5603)
Remove hasCalendarEventStarted flaky test
1 parent 2f52e0f commit 1715aa8

File tree

1 file changed

+0
-11
lines changed

1 file changed

+0
-11
lines changed

packages/twenty-front/src/modules/activities/calendar/utils/__tests__/hasCalendarEventStarted.test.ts

-11
Original file line numberDiff line numberDiff line change
@@ -14,17 +14,6 @@ describe('hasCalendarEventStarted', () => {
1414
expect(result).toBe(true);
1515
});
1616

17-
it('returns false for an event if start date is now', () => {
18-
// Given
19-
const startsAt = new Date().toISOString();
20-
21-
// When
22-
const result = hasCalendarEventStarted({ startsAt });
23-
24-
// Then
25-
expect(result).toBe(false);
26-
});
27-
2817
it('returns false for an event with a future start date', () => {
2918
// Given
3019
const startsAt = addHours(new Date(), 1).toISOString();

0 commit comments

Comments
 (0)