diff options
author | 2022-05-31 18:13:53 +0000 | |
---|---|---|
committer | 2022-05-31 18:13:53 +0000 | |
commit | 74a034c2cde6f6f27a6ba3ea235a600feadeff65 (patch) | |
tree | 62e0e92b76b6859e5b68e32f5b4bc92c1d5b778e | |
parent | 10b2589093f23d5f92e0509f9d3eebfaae2d46a7 (diff) | |
download | astro-74a034c2cde6f6f27a6ba3ea235a600feadeff65.tar.gz astro-74a034c2cde6f6f27a6ba3ea235a600feadeff65.tar.zst astro-74a034c2cde6f6f27a6ba3ea235a600feadeff65.zip |
[ci] format
-rw-r--r-- | packages/astro/e2e/astro-component.test.js | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/packages/astro/e2e/astro-component.test.js b/packages/astro/e2e/astro-component.test.js index 5dcf2daea..8a6870d57 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) => |