test listen on available port

This commit is contained in:
Ryan Mwangi 2024-10-30 14:54:19 +03:00
parent bed191c7b7
commit a61ae491fa
1 changed files with 1 additions and 1 deletions

View File

@ -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