Skip to content

Commit 836a158

Browse files
committed
Test: Remove unnecessary await
1 parent d209435 commit 836a158

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/integration/profiling/test/index.test.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@ jest.setTimeout(1000 * 60 * 5)
1111
describe.skip('Profiling Usage', () => {
1212
beforeAll(async () => {
1313
// Delete file if it already exists
14-
if (await fs.existsSync(profileEventsPath))
15-
await fs.unlink(profileEventsPath, () => {
14+
if (fs.existsSync(profileEventsPath))
15+
fs.unlink(profileEventsPath, () => {
1616
console.log('Deleted Existing profile-events.json file')
1717
})
1818

0 commit comments

Comments
 (0)