summaryrefslogtreecommitdiff
path: root/packages/integrations/mdx/test
diff options
context:
space:
mode:
authorGravatar Houston (Bot) <108291165+astrobot-houston@users.noreply.github.com> 2024-03-12 22:52:42 -0700
committerGravatar GitHub <noreply@github.com> 2024-03-13 13:52:42 +0800
commitb3dbb49058c32b152a8d14c76ddf199802e5cada (patch)
tree5a4f038553c95a1d1ceaf8e3efd7a332d1b6f032 /packages/integrations/mdx/test
parent0b0e244d1ea416487ad1f2f2a6481baa5a327402 (diff)
downloadastro-b3dbb49058c32b152a8d14c76ddf199802e5cada.tar.gz
astro-b3dbb49058c32b152a8d14c76ddf199802e5cada.tar.zst
astro-b3dbb49058c32b152a8d14c76ddf199802e5cada.zip
[ci] update lockfile (#10234)
Co-authored-by: matthewp <matthewp@users.noreply.github.com> Co-authored-by: bluwy <bjornlu.dev@gmail.com>
Diffstat (limited to 'packages/integrations/mdx/test')
-rw-r--r--packages/integrations/mdx/test/mdx-plugins.test.js4
-rw-r--r--packages/integrations/mdx/test/mdx-vite-env-vars.test.js2
2 files changed, 3 insertions, 3 deletions
diff --git a/packages/integrations/mdx/test/mdx-plugins.test.js b/packages/integrations/mdx/test/mdx-plugins.test.js
index 1791acc52..6b15884fb 100644
--- a/packages/integrations/mdx/test/mdx-plugins.test.js
+++ b/packages/integrations/mdx/test/mdx-plugins.test.js
@@ -47,7 +47,7 @@ describe('MDX plugins', () => {
const quote = selectSmartypantsQuote(document);
assert.notEqual(quote, null);
- assert.equal(quote.textContent.includes('“Smartypants” is — awesome'), true);
+ assert.equal(quote.textContent.includes('”Smartypants” is — awesome'), true);
});
it('supports custom rehype plugins', async () => {
@@ -174,7 +174,7 @@ describe('MDX plugins', () => {
);
} else {
assert.equal(
- quote.textContent.includes('“Smartypants” is — awesome'),
+ quote.textContent.includes('”Smartypants” is — awesome'),
true,
'Respects `markdown.smartypants` unexpectedly.'
);
diff --git a/packages/integrations/mdx/test/mdx-vite-env-vars.test.js b/packages/integrations/mdx/test/mdx-vite-env-vars.test.js
index 1270fe5e6..4e32d12cb 100644
--- a/packages/integrations/mdx/test/mdx-vite-env-vars.test.js
+++ b/packages/integrations/mdx/test/mdx-vite-env-vars.test.js
@@ -46,7 +46,7 @@ describe('MDX - Vite env vars', () => {
assert.equal(
document
.querySelector('[data-env-variable-exports-unknown]')
- ?.innerHTML.includes('exports: ””'), // NOTE: these double quotes are special unicode quotes emitted in the HTML file
+ ?.innerHTML.includes('exports: ""'),
true
);
});