summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar matthewp <matthewp@users.noreply.github.com> 2022-05-12 16:05:06 +0000
committerGravatar github-actions[bot] <github-actions[bot]@users.noreply.github.com> 2022-05-12 16:05:06 +0000
commit13e697fb8042930aa76a4b81f54f014c901039db (patch)
tree21ed3653dc7f96c8423563942e52a732464bcdee
parentb463ddb3ce43641536dee4413ac5bb8ebcbdf608 (diff)
downloadastro-13e697fb8042930aa76a4b81f54f014c901039db.tar.gz
astro-13e697fb8042930aa76a4b81f54f014c901039db.tar.zst
astro-13e697fb8042930aa76a4b81f54f014c901039db.zip
[ci] format
-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');
});