Skip to content

Commit

Permalink
[ci] format
Browse files Browse the repository at this point in the history
  • Loading branch information
lilnasy authored and astrobot-houston committed Nov 1, 2023
1 parent 2da33b7 commit f6b53a2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion packages/astro/src/runtime/server/render/astro/instance.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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);
};
}
Expand Down
4 changes: 2 additions & 2 deletions packages/astro/test/astro-slots.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit f6b53a2

Please sign in to comment.