From 83ea893da08ccf044faafcacf9a6101f711d844f Mon Sep 17 00:00:00 2001 From: Ryan Mwangi Date: Mon, 4 Nov 2024 13:12:44 +0300 Subject: [PATCH] load offline calender files --- calendar.test.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/calendar.test.js b/calendar.test.js index d1c17ff..df7625c 100644 --- a/calendar.test.js +++ b/calendar.test.js @@ -29,6 +29,10 @@ describe('Calendar Merging API', () => { await new Promise(resolve => server.close(resolve)); }); + const loadCalendarFile = (filename) => { + return path.join(__dirname, TEST_CALENDARS_DIR, filename); + }; + test('Merge date-based calendar', async () => { const response = await request(server) .post('/merge')