diff options
author | 2023-05-03 23:07:57 +0800 | |
---|---|---|
committer | 2023-05-03 11:07:57 -0400 | |
commit | 49514e4ce40fedb39bf7decd2c296258efbdafc7 (patch) | |
tree | 49bf68d5af0f1d36374040dd820ec5f6cd8e3ef3 /packages/integrations/markdoc/test | |
parent | 297a1dae51962bde7a66cc3a4062ff23b64412bc (diff) | |
download | astro-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/markdoc/test')
-rw-r--r-- | packages/integrations/markdoc/test/fixtures/render-with-components/package.json | 2 | ||||
-rw-r--r-- | packages/integrations/markdoc/test/render.test.js | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/packages/integrations/markdoc/test/fixtures/render-with-components/package.json b/packages/integrations/markdoc/test/fixtures/render-with-components/package.json index f14c97f0f..784b6c727 100644 --- a/packages/integrations/markdoc/test/fixtures/render-with-components/package.json +++ b/packages/integrations/markdoc/test/fixtures/render-with-components/package.json @@ -7,6 +7,6 @@ "astro": "workspace:*" }, "devDependencies": { - "shiki": "^0.11.1" + "shiki": "^0.14.1" } } diff --git a/packages/integrations/markdoc/test/render.test.js b/packages/integrations/markdoc/test/render.test.js index 48d13a759..86ffcb707 100644 --- a/packages/integrations/markdoc/test/render.test.js +++ b/packages/integrations/markdoc/test/render.test.js @@ -122,7 +122,7 @@ function renderComponentsChecks(html) { // Renders Astro Code component const pre = document.querySelector('pre'); expect(pre).to.not.be.null; - expect(pre.className).to.equal('astro-code'); + expect(pre.className).to.equal('astro-code github-dark'); } /** @param {string} html */ |