diff options
author | 2022-06-20 19:10:59 +0000 | |
---|---|---|
committer | 2022-06-20 19:10:59 +0000 | |
commit | 0519601b5269a37fd74a8bc66d3ddb50de1f563d (patch) | |
tree | 7e3da3bc7623cdc8d72cd959cfb34c5efb510884 /packages/markdown/remark/test | |
parent | 48e67fe05398dc4b1fca12db36c1b37bb341277a (diff) | |
download | astro-0519601b5269a37fd74a8bc66d3ddb50de1f563d.tar.gz astro-0519601b5269a37fd74a8bc66d3ddb50de1f563d.tar.zst astro-0519601b5269a37fd74a8bc66d3ddb50de1f563d.zip |
[ci] format
Diffstat (limited to 'packages/markdown/remark/test')
-rw-r--r-- | packages/markdown/remark/test/expressions.test.js | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/packages/markdown/remark/test/expressions.test.js b/packages/markdown/remark/test/expressions.test.js index 0361e1df8..db351f9d8 100644 --- a/packages/markdown/remark/test/expressions.test.js +++ b/packages/markdown/remark/test/expressions.test.js @@ -81,7 +81,7 @@ describe('expressions', () => { .expect(code) .to.equal( '<p>The ampersand in <code is:raw>&nbsp;</code> must be encoded in code blocks.</p>' - ) + ); }); it('should be able to encode ampersand characters in fenced code blocks', async () => { @@ -91,12 +91,8 @@ describe('expressions', () => { \`\`\` `); - chai - .expect(code) - .to.match( - /^<pre is:raw.*<code>.*The ampersand in `&nbsp;`/ - ); - }) + chai.expect(code).to.match(/^<pre is:raw.*<code>.*The ampersand in `&nbsp;`/); + }); it('should be able to serialize function expression', async () => { const { code } = await renderMarkdown( |