mirror of
https://github.com/n8n-io/n8n.git
synced 2026-05-27 23:07:12 +02:00
test(Google Calendar Node): Fix unit test depending on current timestamp (#22522)
This commit is contained in:
parent
75b2cd0de6
commit
20f5bdc4e8
|
|
@ -591,7 +591,7 @@ describe('addNextOccurrence', () => {
|
|||
{
|
||||
start: { dateTime: '2025-01-01T10:00:00Z', date: '2025-01-01' },
|
||||
end: { dateTime: '2025-01-01T11:00:00Z', date: '2025-01-01' },
|
||||
recurrence: ['RRULE:FREQ=DAILY;UNTIL=20251231T235959Z'],
|
||||
recurrence: ['RRULE:FREQ=DAILY;UNTIL=20501231T235959Z'],
|
||||
},
|
||||
];
|
||||
|
||||
|
|
@ -609,7 +609,7 @@ describe('addNextOccurrence', () => {
|
|||
{
|
||||
start: { dateTime: '2025-01-01T10:00:00Z', date: '2025-01-01' },
|
||||
end: { dateTime: '2025-01-01T11:00:00Z', date: '2025-01-01' },
|
||||
recurrence: ['RRULE:FREQ=WEEKLY;BYDAY=SU;UNTIL=20251231T235959Z'],
|
||||
recurrence: ['RRULE:FREQ=WEEKLY;BYDAY=SU;UNTIL=20501231T235959Z'],
|
||||
},
|
||||
];
|
||||
|
||||
|
|
@ -623,7 +623,7 @@ describe('addNextOccurrence', () => {
|
|||
{
|
||||
start: { date: '2025-01-01' },
|
||||
end: { date: '2025-01-02' },
|
||||
recurrence: ['RRULE:FREQ=MONTHLY;BYMONTHDAY=1;UNTIL=20251231T235959Z'],
|
||||
recurrence: ['RRULE:FREQ=MONTHLY;BYMONTHDAY=1;UNTIL=20501231T235959Z'],
|
||||
},
|
||||
];
|
||||
|
||||
|
|
@ -641,7 +641,7 @@ describe('addNextOccurrence', () => {
|
|||
timeZone: 'America/New_York',
|
||||
},
|
||||
end: { dateTime: '2025-01-01T11:00:00Z', date: '2025-01-01', timeZone: 'America/New_York' },
|
||||
recurrence: ['RRULE:FREQ=DAILY;UNTIL=20251231T235959Z'],
|
||||
recurrence: ['RRULE:FREQ=DAILY;UNTIL=20501231T235959Z'],
|
||||
},
|
||||
];
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user