forked from ryanmwangi/CalMerger
test listen on available port
This commit is contained in:
parent
bed191c7b7
commit
a61ae491fa
|
@ -11,7 +11,7 @@ let server;
|
||||||
describe('Calendar Merging API', () => {
|
describe('Calendar Merging API', () => {
|
||||||
beforeAll(async () => {
|
beforeAll(async () => {
|
||||||
// Start the server
|
// Start the server
|
||||||
server = app.listen(0, () => {
|
server = app.listen(0);
|
||||||
console.log(`Server started on port 3000`);
|
console.log(`Server started on port 3000`);
|
||||||
});
|
});
|
||||||
// Ensure the merged calendars directory exists
|
// Ensure the merged calendars directory exists
|
||||||
|
|
Loading…
Reference in New Issue