diff options
author | 2022-07-13 19:33:49 +0000 | |
---|---|---|
committer | 2022-07-13 19:33:49 +0000 | |
commit | 75f202a12416bb9e605110e112c34332c09738aa (patch) | |
tree | 93f9c51340af19aff6f3c0ea93c936ee312b44f9 | |
parent | ca45c0c270f5ca3f7d2fb113a235d415cecdb333 (diff) | |
download | astro-75f202a12416bb9e605110e112c34332c09738aa.tar.gz astro-75f202a12416bb9e605110e112c34332c09738aa.tar.zst astro-75f202a12416bb9e605110e112c34332c09738aa.zip |
[ci] format
-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>' + ); }); }); |