diff options
Diffstat (limited to 'packages/markdown/remark/test/entities.test.js')
-rw-r--r-- | packages/markdown/remark/test/entities.test.js | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/packages/markdown/remark/test/entities.test.js b/packages/markdown/remark/test/entities.test.js index dff844329..b7d551d72 100644 --- a/packages/markdown/remark/test/entities.test.js +++ b/packages/markdown/remark/test/entities.test.js @@ -11,13 +11,10 @@ describe('entities', () => { }); it('should not escape entities in code blocks twice in Astro-flavored markdown', async () => { - const { code } = await renderMarkdown( - `\`\`\`astro\n<h1>{x && x.name || ''}!</h1>\n\`\`\``, - { - isAstroFlavoredMd: true, - syntaxHighlight: false, - } - ); + const { code } = await renderMarkdown(`\`\`\`astro\n<h1>{x && x.name || ''}!</h1>\n\`\`\``, { + isAstroFlavoredMd: true, + syntaxHighlight: false, + }); expect(code).to.equal( `<pre is:raw><code class="language-astro"><h1>{x && x.name || ''}!</h1>\n</code></pre>` |