Skip to content
This repository was archived by the owner on Aug 11, 2021. It is now read-only.

Commit 3926f9d

Browse files
committed
Add occurrence numbering
1 parent d7a4c5c commit 3926f9d

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

test/calendar/recurring.spec.js

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -188,11 +188,11 @@ END:VEVENT
188188
`);
189189
const cache = {};
190190
const result = getOccurrencesBetween(component, Date.UTC(2020, 0, 1), Date.UTC(2021, 4, 1), cache);
191-
expect(stringifyResultSimple(result)).toEqual([
192-
'2020-03-09T03:30:00.000Z - 2020-03-09T05:30:00.000Z',
193-
'2020-03-10T03:30:00.000Z - 2020-03-10T05:30:00.000Z',
194-
'2020-03-12T03:30:00.000Z - 2020-03-12T05:30:00.000Z',
195-
'2020-03-14T03:30:00.000Z - 2020-03-14T05:30:00.000Z'
191+
expect(stringifyResult(result)).toEqual([
192+
'2020-03-09T03:30:00.000Z - 2020-03-09T05:30:00.000Z | 1',
193+
'2020-03-10T03:30:00.000Z - 2020-03-10T05:30:00.000Z | 2',
194+
'2020-03-12T03:30:00.000Z - 2020-03-12T05:30:00.000Z | 4',
195+
'2020-03-14T03:30:00.000Z - 2020-03-14T05:30:00.000Z | 6'
196196
]);
197197
});
198198

0 commit comments

Comments
 (0)