0
Fork 0
mirror of https://github.com/withastro/astro.git synced 2024-12-23 21:53:55 -05:00

[ci] format

This commit is contained in:
tony-sull 2022-07-13 19:33:49 +00:00 committed by fredkbot
parent ca45c0c270
commit 75f202a124

View file

@ -119,9 +119,11 @@ describe('Astro Markdown Shiki', () => {
expect(segments[0].attribs.style).to.be.equal('color: #C9D1D9'); expect(segments[0].attribs.style).to.be.equal('color: #C9D1D9');
expect(segments[1].attribs.style).to.be.equal('color: #79C0FF'); expect(segments[1].attribs.style).to.be.equal('color: #79C0FF');
expect(segments[2].attribs.style).to.be.equal('color: #C9D1D9'); expect(segments[2].attribs.style).to.be.equal('color: #C9D1D9');
const unknownLang = $('.line').last().html(); const unknownLang = $('.line').last().html();
expect(unknownLang).to.be.equal('<span style="color: #c9d1d9">This language does not exist</span>') expect(unknownLang).to.be.equal(
'<span style="color: #c9d1d9">This language does not exist</span>'
);
}); });
it('<Markdown /> component', async () => { it('<Markdown /> component', async () => {
@ -134,7 +136,9 @@ describe('Astro Markdown Shiki', () => {
expect(segments[1].attribs.style).to.be.equal('color: #79C0FF'); expect(segments[1].attribs.style).to.be.equal('color: #79C0FF');
const unknownLang = $('.line').last().html(); const unknownLang = $('.line').last().html();
expect(unknownLang).to.be.equal('<span style="color: #c9d1d9">This language does not exist</span>') expect(unknownLang).to.be.equal(
'<span style="color: #c9d1d9">This language does not exist</span>'
);
}); });
}); });