diff options
author | 2022-07-21 20:46:16 +0000 | |
---|---|---|
committer | 2022-07-21 20:46:16 +0000 | |
commit | c2968b05421bffe5e3f033e9c5423191ee6a1cf7 (patch) | |
tree | 8213466291b2dd39e5f316004a49648a0437a142 /packages/integrations/mdx/test | |
parent | 3b8a7445247221100462ba035f6778b43ea180e7 (diff) | |
download | astro-c2968b05421bffe5e3f033e9c5423191ee6a1cf7.tar.gz astro-c2968b05421bffe5e3f033e9c5423191ee6a1cf7.tar.zst astro-c2968b05421bffe5e3f033e9c5423191ee6a1cf7.zip |
[ci] format
Diffstat (limited to 'packages/integrations/mdx/test')
-rw-r--r-- | packages/integrations/mdx/test/mdx-syntax-highlighting.test.js | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/packages/integrations/mdx/test/mdx-syntax-highlighting.test.js b/packages/integrations/mdx/test/mdx-syntax-highlighting.test.js index d2bbb9266..5544aef56 100644 --- a/packages/integrations/mdx/test/mdx-syntax-highlighting.test.js +++ b/packages/integrations/mdx/test/mdx-syntax-highlighting.test.js @@ -17,10 +17,10 @@ describe('MDX syntax highlighting', () => { integrations: [mdx()], }); await fixture.build(); - + const html = await fixture.readFile('/index.html'); const { document } = parseHTML(html); - + const shikiCodeBlock = document.querySelector('pre.shiki'); expect(shikiCodeBlock).to.not.be.null; }); @@ -37,10 +37,10 @@ describe('MDX syntax highlighting', () => { integrations: [mdx()], }); await fixture.build(); - + const html = await fixture.readFile('/index.html'); const { document } = parseHTML(html); - + const shikiCodeBlock = document.querySelector('pre.shiki.dracula'); expect(shikiCodeBlock).to.not.be.null; }); @@ -56,10 +56,10 @@ describe('MDX syntax highlighting', () => { integrations: [mdx()], }); await fixture.build(); - + const html = await fixture.readFile('/index.html'); const { document } = parseHTML(html); - + const prismCodeBlock = document.querySelector('pre.language-astro'); expect(prismCodeBlock).to.not.be.null; }); |