Skip to content

Commit 8711c5c

Browse files
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
1 parent d209435 commit 8711c5c

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)