summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--packages/astro/test/component-library.test.js10
1 files changed, 8 insertions, 2 deletions
diff --git a/packages/astro/test/component-library.test.js b/packages/astro/test/component-library.test.js
index bcf56cebd..9aeed1735 100644
--- a/packages/astro/test/component-library.test.js
+++ b/packages/astro/test/component-library.test.js
@@ -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');
});
@@ -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');
});