Skip to content

Commit

Permalink
[ci] format
Browse files Browse the repository at this point in the history
  • Loading branch information
matthewp authored and github-actions[bot] committed May 12, 2022
1 parent b463ddb commit 13e697f
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions packages/astro/test/component-library.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,10 @@ describe('Component Libraries', () => {
const $ = cheerioLoad(html);

expect($('.counter').length).to.equal(1, 'Rendered the svelte counter');
expect($('.counter-message').text().trim()).to.equal('Hello, Svelte!', "rendered the counter's slot");
expect($('.counter-message').text().trim()).to.equal(
'Hello, Svelte!',
"rendered the counter's slot"
);

expect($('astro-root[uid]')).to.have.lengthOf(1, 'Included one hydration island');
});
Expand Down Expand Up @@ -149,7 +152,10 @@ describe('Component Libraries', () => {
const $ = cheerioLoad(html);

expect($('.counter').length).to.equal(1, 'Rendered the svelte counter');
expect($('.counter-message').text().trim()).to.equal('Hello, Svelte!', "rendered the counter's slot");
expect($('.counter-message').text().trim()).to.equal(
'Hello, Svelte!',
"rendered the counter's slot"
);

expect($('astro-root[uid]')).to.have.lengthOf(1, 'Included one hydration island');
});
Expand Down

0 comments on commit 13e697f

Please sign in to comment.