mirror of
https://github.com/twentyhq/twenty.git
synced 2024-12-26 13:31:45 +03:00
Remove hasCalendarEventStarted flaky test (#5603)
Remove hasCalendarEventStarted flaky test
This commit is contained in:
parent
2f52e0fdb6
commit
1715aa8465
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user