From 728c73b23d95fd870ee06bdf8fbdd76091d77202 Mon Sep 17 00:00:00 2001 From: Ryan Mwangi Date: Tue, 29 Oct 2024 21:34:45 +0300 Subject: [PATCH] set up test for date based calendar --- calendar.test.js | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/calendar.test.js b/calendar.test.js index 19f2978..e0f27b4 100644 --- a/calendar.test.js +++ b/calendar.test.js @@ -19,7 +19,18 @@ describe('Calendar Merging API', () => { }); test('Merge date-based calendar', async () => { - + const response = await request(app) + .post('/merge') + .send({ + linkGroupName: 'Date Based Calendar', + calendars: [ + { + url: 'https://www.schulferien.org/media/ical/deutschland/ferien_bayern_2023.ics?k=PsL0S2B9rScFMn5PAxtf4OVQjMkWZsqqkK13zEJ0FCW5Q-2xQejfLJYaTN4EdYUsQHLDDbGVnVl93ms7en5vMUISjZ3H9Esu88Vp2ndnL5Q', + prefix: 'Date Event', + override: false, + }, + ], + }); }) }); \ No newline at end of file