Skip to content

Commit

Permalink
[ci] format
Browse files Browse the repository at this point in the history
  • Loading branch information
ascorbic authored and astrobot-houston committed Jan 20, 2025
1 parent 9ce0038 commit 7babf22
Showing 1 changed file with 12 additions and 3 deletions.
15 changes: 12 additions & 3 deletions packages/astro/e2e/dev-toolbar-audits.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,10 @@ test.describe('Dev Toolbar - Audits', () => {
await appButton.click();
});

test('does not warn about perf issue for below the fold image after mutation when body is unscrollable', async ({ page, astro }) => {
test('does not warn about perf issue for below the fold image after mutation when body is unscrollable', async ({
page,
astro,
}) => {
await page.goto(astro.resolveUrl('/audits-perf-body-unscrollable'));

const toolbar = page.locator('astro-dev-toolbar');
Expand All @@ -67,7 +70,10 @@ test.describe('Dev Toolbar - Audits', () => {
expect(auditHighlights).toHaveCount(1);
});

test('does not warn about perf issue for below the fold image in relative container', async ({ page, astro }) => {
test('does not warn about perf issue for below the fold image in relative container', async ({
page,
astro,
}) => {
await page.goto(astro.resolveUrl('/audits-perf-relative'));

const toolbar = page.locator('astro-dev-toolbar');
Expand All @@ -80,7 +86,10 @@ test.describe('Dev Toolbar - Audits', () => {
expect(auditHighlights).toHaveCount(0);
});

test('can warn about perf issue for below the fold image in absolute container', async ({ page, astro }) => {
test('can warn about perf issue for below the fold image in absolute container', async ({
page,
astro,
}) => {
await page.goto(astro.resolveUrl('/audits-perf-absolute'));

const toolbar = page.locator('astro-dev-toolbar');
Expand Down

0 comments on commit 7babf22

Please sign in to comment.