mirror of
https://github.com/n8n-io/n8n.git
synced 2026-10-21 20:20:03 +02:00
test(editor): Use a relative date for the Insights custom range (#41494)
This commit is contained in:
parent
373c57797e
commit
397adabdda
|
|
@ -316,9 +316,10 @@ describe('Insights Transformers', () => {
|
|||
});
|
||||
|
||||
it('should return null for custom range', () => {
|
||||
const end = today(getLocalTimeZone());
|
||||
const result = getMatchingPreset({
|
||||
start: new CalendarDate(2025, 10, 20),
|
||||
end: today(getLocalTimeZone()),
|
||||
start: end.subtract({ days: 10 }),
|
||||
end,
|
||||
});
|
||||
|
||||
expect(result).toBeNull();
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user