Clean up the merged calendars directory after tests

This commit is contained in:
Ryan Mwangi 2024-10-29 21:32:00 +03:00
parent 22f0a05bce
commit 6416685de8
1 changed files with 4 additions and 0 deletions

View File

@ -13,5 +13,9 @@ describe('Calendar Merging API', () => {
fs.mkdirSync(MERGED_CALENDARS_DIR);
}
});
afterAll(() => {
// Clean up the merged calendars directory after tests
fs.rmdirSync(MERGED_CALENDARS_DIR, { recursive: true });
});
});