From 1d928cfcc727dec481d5e8ac4dfc2fdb83e9a675 Mon Sep 17 00:00:00 2001 From: Matt Kane Date: Wed, 8 Jan 2025 13:24:35 +0000 Subject: [PATCH] Lint --- packages/astro/test/core-image.test.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/packages/astro/test/core-image.test.js b/packages/astro/test/core-image.test.js index b5980c4c02ce..3ad7801ef627 100644 --- a/packages/astro/test/core-image.test.js +++ b/packages/astro/test/core-image.test.js @@ -49,11 +49,11 @@ describe('astro:image', () => { describe('basics', () => { let $; - let html; + let body; before(async () => { let res = await fixture.fetch('/'); - html = await res.text(); - $ = cheerio.load(html); + body = await res.text(); + $ = cheerio.load(body); }); it('Adds the tag', () => { @@ -63,7 +63,7 @@ describe('astro:image', () => { }); it('does not inject responsive image styles when not enabled', () => { - assert.ok(!html.includes('[data-astro-image]')); + assert.ok(!body.includes('[data-astro-image]')); }); it('includes loading and decoding attributes', () => { let $img = $('#local img');