From 64639d91c4db20f8ef79962b5a8e47da68f051d5 Mon Sep 17 00:00:00 2001 From: Yury Semikhatsky Date: Fri, 22 Nov 2024 12:42:01 -0800 Subject: [PATCH] Fix lint --- tests/library/capabilities.spec.ts | 45 +++++++++++++++--------------- 1 file changed, 23 insertions(+), 22 deletions(-) diff --git a/tests/library/capabilities.spec.ts b/tests/library/capabilities.spec.ts index 2360f9307b..6a83689ced 100644 --- a/tests/library/capabilities.spec.ts +++ b/tests/library/capabilities.spec.ts @@ -435,28 +435,29 @@ it('should not auto play audio', { description: 'https://github.com/microsoft/playwright/issues/33590' } }, async ({ page }) => { - await page.route('**/*', async (route) => { - route.fulfill({ - status: 200, - contentType: 'text/html', - body: ` - -
- `, - }); + await page.route('**/*', async route => { + await route.fulfill({ + status: 200, + contentType: 'text/html', + body: ` + + +
+ `, + }); }); await page.goto('http://127.0.0.1/audio.html'); await expect(page.locator('#log')).toHaveText('State: suspended');