summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Kynson Szetau <ascorbic@users.noreply.github.com> 2025-01-20 10:00:30 +0000
committerGravatar astrobot-houston <fred+astrobot@astro.build> 2025-01-20 10:00:30 +0000
commit7babf22b7fbcbe421f86f5ce8afdde7213c8d982 (patch)
treee2c03475f89f76ac7822a3d7c51a814aaf832289
parent9ce003802109f704cc1f081759f3d2af2c1ea2c2 (diff)
downloadastro-7babf22b7fbcbe421f86f5ce8afdde7213c8d982.tar.gz
astro-7babf22b7fbcbe421f86f5ce8afdde7213c8d982.tar.zst
astro-7babf22b7fbcbe421f86f5ce8afdde7213c8d982.zip
[ci] format
-rw-r--r--packages/astro/e2e/dev-toolbar-audits.test.js15
1 files changed, 12 insertions, 3 deletions
diff --git a/packages/astro/e2e/dev-toolbar-audits.test.js b/packages/astro/e2e/dev-toolbar-audits.test.js
index 50a4ab175..6227093cd 100644
--- a/packages/astro/e2e/dev-toolbar-audits.test.js
+++ b/packages/astro/e2e/dev-toolbar-audits.test.js
@@ -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');
@@ -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');
@@ -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');