Skip to content

Commit

Permalink
chore: fix for real
Browse files Browse the repository at this point in the history
  • Loading branch information
bluwy committed Mar 12, 2024
1 parent b38db17 commit 65ae5ce
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions packages/integrations/mdx/test/mdx-plugins.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 () => {
Expand Down Expand Up @@ -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.'
);
Expand Down
2 changes: 1 addition & 1 deletion packages/integrations/mdx/test/mdx-vite-env-vars.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
);
});
Expand Down

0 comments on commit 65ae5ce

Please sign in to comment.