1
0
Fork 0

stop the server after test

This commit is contained in:
Ryan Mwangi 2024-10-30 14:56:38 +03:00
parent ab02271245
commit adb29222ca
1 changed files with 2 additions and 0 deletions

View File

@ -25,6 +25,8 @@ describe('Calendar Merging API', () => {
if (fs.existsSync(MERGED_CALENDARS_DIR)) {
fs.rmdirSync(MERGED_CALENDARS_DIR, { recursive: true });
}
// Close the server
await new Promise(resolve => server.close(resolve));
});
test('Merge date-based calendar', async () => {