From 836a1582cf13111cc5e752ce0628f9e8383ef11d Mon Sep 17 00:00:00 2001 From: Anderson Leite Date: Sun, 29 Aug 2021 11:11:38 +0900 Subject: [PATCH] Test: Remove unnecessary await --- test/integration/profiling/test/index.test.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/integration/profiling/test/index.test.js b/test/integration/profiling/test/index.test.js index 1bebb68d098f8c3..0a686f8df1849ba 100644 --- a/test/integration/profiling/test/index.test.js +++ b/test/integration/profiling/test/index.test.js @@ -11,8 +11,8 @@ jest.setTimeout(1000 * 60 * 5) describe.skip('Profiling Usage', () => { beforeAll(async () => { // Delete file if it already exists - if (await fs.existsSync(profileEventsPath)) - await fs.unlink(profileEventsPath, () => { + if (fs.existsSync(profileEventsPath)) + fs.unlink(profileEventsPath, () => { console.log('Deleted Existing profile-events.json file') })