From 04731b4e60e1068faaf12d92634aae148d8c8cd2 Mon Sep 17 00:00:00 2001 From: matthewp Date: Tue, 7 Feb 2023 01:03:04 +0000 Subject: [PATCH] [ci] format --- packages/astro/e2e/lit-component.test.js | 19 +++++++++++++++---- 1 file changed, 15 insertions(+), 4 deletions(-) diff --git a/packages/astro/e2e/lit-component.test.js b/packages/astro/e2e/lit-component.test.js index 8303c70580..d73005b278 100644 --- a/packages/astro/e2e/lit-component.test.js +++ b/packages/astro/e2e/lit-component.test.js @@ -113,18 +113,29 @@ test.describe('Lit components', () => { await expect(label, 'component is visible').toBeVisible(); // Light DOM reconstructed correctly (slots are rendered alphabetically) and shadow dom content rendered - await expect(label, 'slotted text is in DOM').toHaveText('Framework client:only component Should not be visible Shadow dom default content should not be visible'); + await expect(label, 'slotted text is in DOM').toHaveText( + 'Framework client:only component Should not be visible Shadow dom default content should not be visible' + ); // Projected content should be visible - await expect(page.locator('#client-only .default'), 'slotted element is visible').toBeVisible(); + await expect( + page.locator('#client-only .default'), + 'slotted element is visible' + ).toBeVisible(); await expect(page.locator('#client-only .foo1'), 'slotted element is visible').toBeVisible(); await expect(page.locator('#client-only .foo2'), 'slotted element is visible').toBeVisible(); // Non-projected content should not be visible - await expect(page.locator('#client-only [slot="quux"]'), 'element without slot is not visible').toBeHidden(); + await expect( + page.locator('#client-only [slot="quux"]'), + 'element without slot is not visible' + ).toBeHidden(); // Default slot content should not be visible - await expect(page.locator('#client-only .defaultContent'), 'element without slot is not visible').toBeHidden(); + await expect( + page.locator('#client-only .defaultContent'), + 'element without slot is not visible' + ).toBeHidden(); }); t.skip('HMR', async ({ page, astro }) => {