summaryrefslogtreecommitdiff
path: root/packages/integrations/mdx/test/mdx-syntax-highlighting.test.js
diff options
context:
space:
mode:
authorGravatar Bjorn Lu <bjornlu.dev@gmail.com> 2023-05-03 23:07:57 +0800
committerGravatar GitHub <noreply@github.com> 2023-05-03 11:07:57 -0400
commit49514e4ce40fedb39bf7decd2c296258efbdafc7 (patch)
tree49bf68d5af0f1d36374040dd820ec5f6cd8e3ef3 /packages/integrations/mdx/test/mdx-syntax-highlighting.test.js
parent297a1dae51962bde7a66cc3a4062ff23b64412bc (diff)
downloadastro-49514e4ce40fedb39bf7decd2c296258efbdafc7.tar.gz
astro-49514e4ce40fedb39bf7decd2c296258efbdafc7.tar.zst
astro-49514e4ce40fedb39bf7decd2c296258efbdafc7.zip
Upgrade shiki to v0.14.1 (#6932)
* Upgrade shiki * Update themes * Update languages * Simplify * Fix compat for other remark code * Update theme again * Fix language gen * Add changeset * Fix code * Update test theme colors * Update changeset * Fix test again
Diffstat (limited to 'packages/integrations/mdx/test/mdx-syntax-highlighting.test.js')
-rw-r--r--packages/integrations/mdx/test/mdx-syntax-highlighting.test.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/integrations/mdx/test/mdx-syntax-highlighting.test.js b/packages/integrations/mdx/test/mdx-syntax-highlighting.test.js
index d420faabc..40281cffd 100644
--- a/packages/integrations/mdx/test/mdx-syntax-highlighting.test.js
+++ b/packages/integrations/mdx/test/mdx-syntax-highlighting.test.js
@@ -25,7 +25,7 @@ describe('MDX syntax highlighting', () => {
const shikiCodeBlock = document.querySelector('pre.astro-code');
expect(shikiCodeBlock).to.not.be.null;
- expect(shikiCodeBlock.getAttribute('style')).to.contain('background-color:#0d1117');
+ expect(shikiCodeBlock.getAttribute('style')).to.contain('background-color:#24292e');
});
it('respects markdown.shikiConfig.theme', async () => {