[ci] format
This commit is contained in:
parent
b463ddb3ce
commit
13e697fb80
1 changed files with 8 additions and 2 deletions
|
@ -82,7 +82,10 @@ describe('Component Libraries', () => {
|
||||||
const $ = cheerioLoad(html);
|
const $ = cheerioLoad(html);
|
||||||
|
|
||||||
expect($('.counter').length).to.equal(1, 'Rendered the svelte counter');
|
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');
|
expect($('astro-root[uid]')).to.have.lengthOf(1, 'Included one hydration island');
|
||||||
});
|
});
|
||||||
|
@ -149,7 +152,10 @@ describe('Component Libraries', () => {
|
||||||
const $ = cheerioLoad(html);
|
const $ = cheerioLoad(html);
|
||||||
|
|
||||||
expect($('.counter').length).to.equal(1, 'Rendered the svelte counter');
|
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');
|
expect($('astro-root[uid]')).to.have.lengthOf(1, 'Included one hydration island');
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in a new issue