Unverified Commit 8711c5ca authored by Anderson Leite's avatar Anderson Leite Committed by GitHub

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
parent d2094357
...@@ -11,8 +11,8 @@ jest.setTimeout(1000 * 60 * 5) ...@@ -11,8 +11,8 @@ jest.setTimeout(1000 * 60 * 5)
describe.skip('Profiling Usage', () => { describe.skip('Profiling Usage', () => {
beforeAll(async () => { beforeAll(async () => {
// Delete file if it already exists // Delete file if it already exists
if (await fs.existsSync(profileEventsPath)) if (fs.existsSync(profileEventsPath))
await fs.unlink(profileEventsPath, () => { fs.unlink(profileEventsPath, () => {
console.log('Deleted Existing profile-events.json file') console.log('Deleted Existing profile-events.json file')
}) })
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment