From 8711c5ca53b468d4a270bb4d627a3c813565b8b3 Mon Sep 17 00:00:00 2001 From: Anderson Leite Date: Sat, 28 Aug 2021 23:50:00 -0700 Subject: [PATCH] Tests: Remove unnecessary await (#28594) 'await' has no effect on the type of this expression.ts(80007) ## Bug - [X] Integration tests clean up ## Documentation / Examples - [x] Make sure the linting passes --- 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') })