Remove hasCalendarEventStarted flaky test (#5603)

Remove hasCalendarEventStarted flaky test
This commit is contained in:
bosiraphael 2024-05-27 15:16:21 +02:00 committed by GitHub
parent 2f52e0fdb6
commit 1715aa8465
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -14,17 +14,6 @@ describe('hasCalendarEventStarted', () => {
expect(result).toBe(true);
});
it('returns false for an event if start date is now', () => {
// Given
const startsAt = new Date().toISOString();
// When
const result = hasCalendarEventStarted({ startsAt });
// Then
expect(result).toBe(false);
});
it('returns false for an event with a future start date', () => {
// Given
const startsAt = addHours(new Date(), 1).toISOString();