summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--packages/astro/src/runtime/server/render/astro/instance.ts2
-rw-r--r--packages/astro/test/astro-slots.test.js4
2 files changed, 3 insertions, 3 deletions
diff --git a/packages/astro/src/runtime/server/render/astro/instance.ts b/packages/astro/src/runtime/server/render/astro/instance.ts
index 083a8242c..389ae71ba 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 28f949690..34f1d8225 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);