Skip to content

Commit

Permalink
Tests: Remove unnecessary await (#28594)
Browse files Browse the repository at this point in the history
'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
  • Loading branch information
andersonleite committed Aug 29, 2021
1 parent d209435 commit 8711c5c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/integration/profiling/test/index.test.js
Expand Up @@ -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')
})

Expand Down

0 comments on commit 8711c5c

Please sign in to comment.