From 74a034c2cde6f6f27a6ba3ea235a600feadeff65 Mon Sep 17 00:00:00 2001 From: tony-sull Date: Tue, 31 May 2022 18:13:53 +0000 Subject: [PATCH] [ci] format --- packages/astro/e2e/astro-component.test.js | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/packages/astro/e2e/astro-component.test.js b/packages/astro/e2e/astro-component.test.js index 5dcf2daea1..8a6870d575 100644 --- a/packages/astro/e2e/astro-component.test.js +++ b/packages/astro/e2e/astro-component.test.js @@ -45,12 +45,18 @@ test.describe('Astro component HMR', () => { // https://github.com/withastro/astro/issues/3424 const it = os.platform() === 'win32' ? test.skip : test; it('hoisted scripts', async ({ page, astro }) => { - const initialLog = page.waitForEvent('console', (message) => message.text() === 'Hello, Astro!'); + const initialLog = page.waitForEvent( + 'console', + (message) => message.text() === 'Hello, Astro!' + ); await page.goto(astro.resolveUrl('/')); await initialLog; - const updatedLog = page.waitForEvent('console', (message) => message.text() === 'Hello, updated Astro!'); + const updatedLog = page.waitForEvent( + 'console', + (message) => message.text() === 'Hello, updated Astro!' + ); // Edit the hoisted script on the page await astro.editFile('./src/pages/index.astro', (content) =>