From a61ae491fac28b6b4562122411e2d4726f481fe1 Mon Sep 17 00:00:00 2001 From: Ryan Mwangi Date: Wed, 30 Oct 2024 14:54:19 +0300 Subject: [PATCH] test listen on available port --- calendar.test.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/calendar.test.js b/calendar.test.js index 44dafd7..72f4ed6 100644 --- a/calendar.test.js +++ b/calendar.test.js @@ -11,7 +11,7 @@ let server; describe('Calendar Merging API', () => { beforeAll(async () => { // Start the server - server = app.listen(0, () => { + server = app.listen(0); console.log(`Server started on port 3000`); }); // Ensure the merged calendars directory exists