mirror of
https://github.com/withastro/astro.git
synced 2024-12-23 21:53:55 -05:00
[ci] format
This commit is contained in:
parent
ca45c0c270
commit
75f202a124
1 changed files with 7 additions and 3 deletions
|
@ -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>'
|
||||||
|
);
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue