Skip to content

Commit

Permalink
Test: Remove unnecessary await
Browse files Browse the repository at this point in the history
  • Loading branch information
andersonleite committed Aug 29, 2021
1 parent d209435 commit 836a158
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/integration/profiling/test/index.test.js
Original file line number Diff line number Diff line change
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 836a158

Please sign in to comment.