add offline test calendars for time based calendar tests

This commit is contained in:
Ryan Mwangi 2024-11-04 13:27:34 +03:00
parent ba3c3c86ba
commit 7f15fed11f
3 changed files with 365 additions and 1 deletions

View File

@ -71,7 +71,7 @@ describe('Calendar Merging API', () => {
override: false,
},
{
prefix: "work",
prefix: 'work',
override: false,
url: "https://calendar.google.com/calendar/ical/b4c66eb4bb2cc15257d071bab3f935385778b042112ea1aaedada47f3f1a6e3a%40group.calendar.google.com/public/basic.ics"
},

View File

@ -0,0 +1,320 @@
BEGIN:VCALENDAR
VERSION:2.0
PRODID:-//Calendar Labs//Calendar 1.0//EN
CALSCALE:GREGORIAN
METHOD:PUBLISH
X-WR-CALNAME:Russia Holidays
X-WR-TIMEZONE:Etc/GMT
BEGIN:VEVENT
SUMMARY:New Year's Day
DTSTART;VALUE=DATE:20240101
DTEND;VALUE=DATE:20240101
LOCATION:Russia
DESCRIPTION:Visit https://calendarlabs.com/holidays/us/new-years-day.php to know more about New Year's Day. \n\n Like us on Facebook: http://fb.com/calendarlabs to get updates
UID:67164e0bcb9111729515019@calendarlabs.com
DTSTAMP:20241021T125019Z
STATUS:CONFIRMED
TRANSP:TRANSPARENT
SEQUENCE:0
END:VEVENT
BEGIN:VEVENT
SUMMARY:New Year's Day Holiday
DTSTART;VALUE=DATE:20240102
DTEND;VALUE=DATE:20240102
LOCATION:Russia
DESCRIPTION:Visit https://calendarlabs.com/holidays/us/new-years-day.php to know more about New Year's Day Holiday. \n\n Like us on Facebook: http://fb.com/calendarlabs to get updates
UID:67164e0bcba351729515019@calendarlabs.com
DTSTAMP:20241021T125019Z
STATUS:CONFIRMED
TRANSP:TRANSPARENT
SEQUENCE:0
END:VEVENT
BEGIN:VEVENT
SUMMARY:New Year's Day Holiday
DTSTART;VALUE=DATE:20240103
DTEND;VALUE=DATE:20240103
LOCATION:Russia
DESCRIPTION:Visit https://calendarlabs.com/holidays/us/new-years-day.php to know more about New Year's Day Holiday. \n\n Like us on Facebook: http://fb.com/calendarlabs to get updates
UID:67164e0bcbb4a1729515019@calendarlabs.com
DTSTAMP:20241021T125019Z
STATUS:CONFIRMED
TRANSP:TRANSPARENT
SEQUENCE:0
END:VEVENT
BEGIN:VEVENT
SUMMARY:New Year's Day Holiday
DTSTART;VALUE=DATE:20240104
DTEND;VALUE=DATE:20240104
LOCATION:Russia
DESCRIPTION:Visit https://calendarlabs.com/holidays/us/new-years-day.php to know more about New Year's Day Holiday. \n\n Like us on Facebook: http://fb.com/calendarlabs to get updates
UID:67164e0bcbc471729515019@calendarlabs.com
DTSTAMP:20241021T125019Z
STATUS:CONFIRMED
TRANSP:TRANSPARENT
SEQUENCE:0
END:VEVENT
BEGIN:VEVENT
SUMMARY:New Year's Day Holiday
DTSTART;VALUE=DATE:20240105
DTEND;VALUE=DATE:20240105
LOCATION:Russia
DESCRIPTION:Visit https://calendarlabs.com/holidays/us/new-years-day.php to know more about New Year's Day Holiday. \n\n Like us on Facebook: http://fb.com/calendarlabs to get updates
UID:67164e0bcbd3c1729515019@calendarlabs.com
DTSTAMP:20241021T125019Z
STATUS:CONFIRMED
TRANSP:TRANSPARENT
SEQUENCE:0
END:VEVENT
BEGIN:VEVENT
SUMMARY:Orthodox Christmas
DTSTART;VALUE=DATE:20240107
DTEND;VALUE=DATE:20240107
LOCATION:Russia
DESCRIPTION:Visit https://calendarlabs.com/holidays/russia/orthodox-christmas.php to know more about Orthodox Christmas. \n\n Like us on Facebook: http://fb.com/calendarlabs to get updates
UID:67164e0bcbe351729515019@calendarlabs.com
DTSTAMP:20241021T125019Z
STATUS:CONFIRMED
TRANSP:TRANSPARENT
SEQUENCE:0
END:VEVENT
BEGIN:VEVENT
SUMMARY:Orthodox Christmas Holiday
DTSTART;VALUE=DATE:20240108
DTEND;VALUE=DATE:20240108
LOCATION:Russia
DESCRIPTION:Visit https://calendarlabs.com/holidays/russia/orthodox-christmas.php to know more about Orthodox Christmas Holiday. \n\n Like us on Facebook: http://fb.com/calendarlabs to get updates
UID:67164e0bcbf5b1729515019@calendarlabs.com
DTSTAMP:20241021T125019Z
STATUS:CONFIRMED
TRANSP:TRANSPARENT
SEQUENCE:0
END:VEVENT
BEGIN:VEVENT
SUMMARY:Defender of the Fatherland
DTSTART;VALUE=DATE:20240223
DTEND;VALUE=DATE:20240223
LOCATION:Russia
DESCRIPTION:Visit https://calendarlabs.com/holidays/russia/defender-of-the-fatherland.php to know more about Defender of the Fatherland. \n\n Like us on Facebook: http://fb.com/calendarlabs to get updates
UID:67164e0bcc0661729515019@calendarlabs.com
DTSTAMP:20241021T125019Z
STATUS:CONFIRMED
TRANSP:TRANSPARENT
SEQUENCE:0
END:VEVENT
BEGIN:VEVENT
SUMMARY:Intl. Women's Day
DTSTART;VALUE=DATE:20240308
DTEND;VALUE=DATE:20240308
LOCATION:Russia
DESCRIPTION:Visit https://calendarlabs.com/holidays/international/international-womens-day.php to know more about Intl. Women's Day. \n\n Like us on Facebook: http://fb.com/calendarlabs to get updates
UID:67164e0bcc16e1729515019@calendarlabs.com
DTSTAMP:20241021T125019Z
STATUS:CONFIRMED
TRANSP:TRANSPARENT
SEQUENCE:0
END:VEVENT
BEGIN:VEVENT
SUMMARY:Spring and Labor Day
DTSTART;VALUE=DATE:20240501
DTEND;VALUE=DATE:20240501
LOCATION:Russia
DESCRIPTION:Visit https://calendarlabs.com/holidays/uk/may-day.php to know more about Spring and Labor Day. \n\n Like us on Facebook: http://fb.com/calendarlabs to get updates
UID:67164e0bcc26f1729515019@calendarlabs.com
DTSTAMP:20241021T125019Z
STATUS:CONFIRMED
TRANSP:TRANSPARENT
SEQUENCE:0
END:VEVENT
BEGIN:VEVENT
SUMMARY:Victory Day
DTSTART;VALUE=DATE:20240509
DTEND;VALUE=DATE:20240509
LOCATION:Russia
DESCRIPTION:Visit https://calendarlabs.com/holidays/russia/victory-day.php to know more about Victory Day. \n\n Like us on Facebook: http://fb.com/calendarlabs to get updates
UID:67164e0bcc36f1729515019@calendarlabs.com
DTSTAMP:20241021T125019Z
STATUS:CONFIRMED
TRANSP:TRANSPARENT
SEQUENCE:0
END:VEVENT
BEGIN:VEVENT
SUMMARY:Russia Day
DTSTART;VALUE=DATE:20240612
DTEND;VALUE=DATE:20240612
LOCATION:Russia
DESCRIPTION:Visit https://calendarlabs.com/holidays/russia/russia-day.php to know more about Russia Day. \n\n Like us on Facebook: http://fb.com/calendarlabs to get updates
UID:67164e0bcc4771729515019@calendarlabs.com
DTSTAMP:20241021T125019Z
STATUS:CONFIRMED
TRANSP:TRANSPARENT
SEQUENCE:0
END:VEVENT
BEGIN:VEVENT
SUMMARY:Civil Unity Day
DTSTART;VALUE=DATE:20241104
DTEND;VALUE=DATE:20241104
LOCATION:Russia
DESCRIPTION:Visit https://calendarlabs.com/holidays/russia/unity-day.php to know more about Civil Unity Day. \n\n Like us on Facebook: http://fb.com/calendarlabs to get updates
UID:67164e0bcc57d1729515019@calendarlabs.com
DTSTAMP:20241021T125019Z
STATUS:CONFIRMED
TRANSP:TRANSPARENT
SEQUENCE:0
END:VEVENT
BEGIN:VEVENT
SUMMARY:New Year's Day
DTSTART;VALUE=DATE:20250101
DTEND;VALUE=DATE:20250101
LOCATION:Russia
DESCRIPTION:Visit https://calendarlabs.com/holidays/us/new-years-day.php to know more about New Year's Day. \n\n Like us on Facebook: http://fb.com/calendarlabs to get updates
UID:67164e0bcc6811729515019@calendarlabs.com
DTSTAMP:20241021T125019Z
STATUS:CONFIRMED
TRANSP:TRANSPARENT
SEQUENCE:0
END:VEVENT
BEGIN:VEVENT
SUMMARY:New Year's Day Holiday
DTSTART;VALUE=DATE:20250102
DTEND;VALUE=DATE:20250102
LOCATION:Russia
DESCRIPTION:Visit https://calendarlabs.com/holidays/us/new-years-day.php to know more about New Year's Day Holiday. \n\n Like us on Facebook: http://fb.com/calendarlabs to get updates
UID:67164e0bcc7881729515019@calendarlabs.com
DTSTAMP:20241021T125019Z
STATUS:CONFIRMED
TRANSP:TRANSPARENT
SEQUENCE:0
END:VEVENT
BEGIN:VEVENT
SUMMARY:New Year's Day Holiday
DTSTART;VALUE=DATE:20250103
DTEND;VALUE=DATE:20250103
LOCATION:Russia
DESCRIPTION:Visit https://calendarlabs.com/holidays/us/new-years-day.php to know more about New Year's Day Holiday. \n\n Like us on Facebook: http://fb.com/calendarlabs to get updates
UID:67164e0bcc8911729515019@calendarlabs.com
DTSTAMP:20241021T125019Z
STATUS:CONFIRMED
TRANSP:TRANSPARENT
SEQUENCE:0
END:VEVENT
BEGIN:VEVENT
SUMMARY:New Year's Day Holiday
DTSTART;VALUE=DATE:20250104
DTEND;VALUE=DATE:20250104
LOCATION:Russia
DESCRIPTION:Visit https://calendarlabs.com/holidays/us/new-years-day.php to know more about New Year's Day Holiday. \n\n Like us on Facebook: http://fb.com/calendarlabs to get updates
UID:67164e0bcc9a21729515019@calendarlabs.com
DTSTAMP:20241021T125019Z
STATUS:CONFIRMED
TRANSP:TRANSPARENT
SEQUENCE:0
END:VEVENT
BEGIN:VEVENT
SUMMARY:New Year's Day Holiday
DTSTART;VALUE=DATE:20250105
DTEND;VALUE=DATE:20250105
LOCATION:Russia
DESCRIPTION:Visit https://calendarlabs.com/holidays/us/new-years-day.php to know more about New Year's Day Holiday. \n\n Like us on Facebook: http://fb.com/calendarlabs to get updates
UID:67164e0bccac61729515019@calendarlabs.com
DTSTAMP:20241021T125019Z
STATUS:CONFIRMED
TRANSP:TRANSPARENT
SEQUENCE:0
END:VEVENT
BEGIN:VEVENT
SUMMARY:Orthodox Christmas
DTSTART;VALUE=DATE:20250107
DTEND;VALUE=DATE:20250107
LOCATION:Russia
DESCRIPTION:Visit https://calendarlabs.com/holidays/russia/orthodox-christmas.php to know more about Orthodox Christmas. \n\n Like us on Facebook: http://fb.com/calendarlabs to get updates
UID:67164e0bccbd41729515019@calendarlabs.com
DTSTAMP:20241021T125019Z
STATUS:CONFIRMED
TRANSP:TRANSPARENT
SEQUENCE:0
END:VEVENT
BEGIN:VEVENT
SUMMARY:Orthodox Christmas Holiday
DTSTART;VALUE=DATE:20250108
DTEND;VALUE=DATE:20250108
LOCATION:Russia
DESCRIPTION:Visit https://calendarlabs.com/holidays/russia/orthodox-christmas.php to know more about Orthodox Christmas Holiday. \n\n Like us on Facebook: http://fb.com/calendarlabs to get updates
UID:67164e0bccceb1729515019@calendarlabs.com
DTSTAMP:20241021T125019Z
STATUS:CONFIRMED
TRANSP:TRANSPARENT
SEQUENCE:0
END:VEVENT
BEGIN:VEVENT
SUMMARY:Defender of the Fatherland
DTSTART;VALUE=DATE:20250224
DTEND;VALUE=DATE:20250224
LOCATION:Russia
DESCRIPTION:Visit https://calendarlabs.com/holidays/russia/defender-of-the-fatherland.php to know more about Defender of the Fatherland. \n\n Like us on Facebook: http://fb.com/calendarlabs to get updates
UID:67164e0bcce091729515019@calendarlabs.com
DTSTAMP:20241021T125019Z
STATUS:CONFIRMED
TRANSP:TRANSPARENT
SEQUENCE:0
END:VEVENT
BEGIN:VEVENT
SUMMARY:Intl. Women's Day
DTSTART;VALUE=DATE:20250310
DTEND;VALUE=DATE:20250310
LOCATION:Russia
DESCRIPTION:Visit https://calendarlabs.com/holidays/international/international-womens-day.php to know more about Intl. Women's Day. \n\n Like us on Facebook: http://fb.com/calendarlabs to get updates
UID:67164e0bccf3b1729515019@calendarlabs.com
DTSTAMP:20241021T125019Z
STATUS:CONFIRMED
TRANSP:TRANSPARENT
SEQUENCE:0
END:VEVENT
BEGIN:VEVENT
SUMMARY:Spring and Labor Day
DTSTART;VALUE=DATE:20250501
DTEND;VALUE=DATE:20250501
LOCATION:Russia
DESCRIPTION:Visit https://calendarlabs.com/holidays/uk/may-day.php to know more about Spring and Labor Day. \n\n Like us on Facebook: http://fb.com/calendarlabs to get updates
UID:67164e0bcd0531729515019@calendarlabs.com
DTSTAMP:20241021T125019Z
STATUS:CONFIRMED
TRANSP:TRANSPARENT
SEQUENCE:0
END:VEVENT
BEGIN:VEVENT
SUMMARY:Victory Day
DTSTART;VALUE=DATE:20250509
DTEND;VALUE=DATE:20250509
LOCATION:Russia
DESCRIPTION:Visit https://calendarlabs.com/holidays/russia/victory-day.php to know more about Victory Day. \n\n Like us on Facebook: http://fb.com/calendarlabs to get updates
UID:67164e0bcd16f1729515019@calendarlabs.com
DTSTAMP:20241021T125019Z
STATUS:CONFIRMED
TRANSP:TRANSPARENT
SEQUENCE:0
END:VEVENT
BEGIN:VEVENT
SUMMARY:Russia Day
DTSTART;VALUE=DATE:20250612
DTEND;VALUE=DATE:20250612
LOCATION:Russia
DESCRIPTION:Visit https://calendarlabs.com/holidays/russia/russia-day.php to know more about Russia Day. \n\n Like us on Facebook: http://fb.com/calendarlabs to get updates
UID:67164e0bcd2961729515019@calendarlabs.com
DTSTAMP:20241021T125019Z
STATUS:CONFIRMED
TRANSP:TRANSPARENT
SEQUENCE:0
END:VEVENT
BEGIN:VEVENT
SUMMARY:Civil Unity Day
DTSTART;VALUE=DATE:20251104
DTEND;VALUE=DATE:20251104
LOCATION:Russia
DESCRIPTION:Visit https://calendarlabs.com/holidays/russia/unity-day.php to know more about Civil Unity Day. \n\n Like us on Facebook: http://fb.com/calendarlabs to get updates
UID:67164e0bcd3b51729515019@calendarlabs.com
DTSTAMP:20241021T125019Z
STATUS:CONFIRMED
TRANSP:TRANSPARENT
SEQUENCE:0
END:VEVENT
END:VCALENDAR

44
test_calendars/work.ics Normal file
View File

@ -0,0 +1,44 @@
BEGIN:VCALENDAR
PRODID:-//Google Inc//Google Calendar 70.9054//EN
VERSION:2.0
CALSCALE:GREGORIAN
METHOD:PUBLISH
X-WR-CALNAME:work
X-WR-TIMEZONE:Africa/Nairobi
BEGIN:VEVENT
DTSTART:20240930T113000Z
DTEND:20240930T123000Z
DTSTAMP:20241104T102505Z
UID:0d0p2hp0l26ebuk2r0kb1q9kuo@google.com
CREATED:20240930T111532Z
LAST-MODIFIED:20240930T111532Z
SEQUENCE:0
STATUS:CONFIRMED
SUMMARY:other work
TRANSP:OPAQUE
END:VEVENT
BEGIN:VEVENT
DTSTART:20241003T190000Z
DTEND:20241003T200000Z
DTSTAMP:20241104T102505Z
UID:6tbrvsitniuu72li7kk15gou2b@google.com
CREATED:20241001T194455Z
LAST-MODIFIED:20241001T194455Z
SEQUENCE:0
STATUS:CONFIRMED
SUMMARY:progodessey
TRANSP:OPAQUE
END:VEVENT
BEGIN:VEVENT
DTSTART:20241009T173000Z
DTEND:20241009T183000Z
DTSTAMP:20241104T102505Z
UID:7l7n9nltrudluv65gfgll2q930@google.com
CREATED:20241010T123337Z
LAST-MODIFIED:20241010T123337Z
SEQUENCE:0
STATUS:CONFIRMED
SUMMARY:do
TRANSP:OPAQUE
END:VEVENT
END:VCALENDAR