diff options
-rw-r--r-- | packages/astro/test/astro-markdown-shiki.test.js | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/packages/astro/test/astro-markdown-shiki.test.js b/packages/astro/test/astro-markdown-shiki.test.js index 0d6ec6f74..039062ea7 100644 --- a/packages/astro/test/astro-markdown-shiki.test.js +++ b/packages/astro/test/astro-markdown-shiki.test.js @@ -119,9 +119,11 @@ describe('Astro Markdown Shiki', () => { expect(segments[0].attribs.style).to.be.equal('color: #C9D1D9'); expect(segments[1].attribs.style).to.be.equal('color: #79C0FF'); expect(segments[2].attribs.style).to.be.equal('color: #C9D1D9'); - + 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 () => { @@ -134,7 +136,9 @@ describe('Astro Markdown Shiki', () => { expect(segments[1].attribs.style).to.be.equal('color: #79C0FF'); 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>' + ); }); }); |