Skip to content

Commit

Permalink
[ci] format
Browse files Browse the repository at this point in the history
  • Loading branch information
tony-sull authored and astrobot-houston committed Jul 13, 2022
1 parent ca45c0c commit 75f202a
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions packages/astro/test/astro-markdown-shiki.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 () => {
Expand All @@ -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>'
);
});
});

Expand Down

0 comments on commit 75f202a

Please sign in to comment.