From 3d5f2157a2a15e38019be2e603849e796c7ac6fc Mon Sep 17 00:00:00 2001 From: Ryan Mwangi Date: Wed, 30 Oct 2024 14:03:00 +0300 Subject: [PATCH] make arrow function async --- calendar.test.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/calendar.test.js b/calendar.test.js index 568244d..46bb723 100644 --- a/calendar.test.js +++ b/calendar.test.js @@ -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 }); });