diff --git a/packages/astro/src/runtime/server/render/astro/instance.ts b/packages/astro/src/runtime/server/render/astro/instance.ts index 083a8242cc2c..389ae71ba245 100644 --- a/packages/astro/src/runtime/server/render/astro/instance.ts +++ b/packages/astro/src/runtime/server/render/astro/instance.ts @@ -40,7 +40,7 @@ export class AstroComponentInstance { didRender = true; return value; } - // render afresh for the advanced use-case where the same slot is rendered multiple times + // render afresh for the advanced use-case where the same slot is rendered multiple times return slots[name](result); }; } diff --git a/packages/astro/test/astro-slots.test.js b/packages/astro/test/astro-slots.test.js index 28f94969036a..34f1d82255cc 100644 --- a/packages/astro/test/astro-slots.test.js +++ b/packages/astro/test/astro-slots.test.js @@ -152,11 +152,11 @@ describe('Slots', () => { { const html = await fixture.readFile('/rendered-multiple-times/index.html'); const $ = cheerio.load(html); - + const elements = $('div'); expect(elements).to.have.lengthOf(10); - const [ first, second, third ] = elements; + const [first, second, third] = elements; expect(first.children[0].data).to.not.equal(second.children[0].data); expect(second.children[0].data).to.not.equal(third.children[0].data);