make arrow function async

This commit is contained in:
Ryan Mwangi 2024-10-30 14:03:00 +03:00
parent ed8e3d214c
commit 3d5f2157a2
1 changed files with 2 additions and 1 deletions

View File

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