diff options
author | 2022-06-20 17:14:08 +0000 | |
---|---|---|
committer | 2022-06-20 17:14:08 +0000 | |
commit | 9502fbf4a9ca8701629be9a7dcf955ae78541fbe (patch) | |
tree | f24d194d37744ff7b94ccfba9bd211a7e44408f9 /packages/markdown/remark/test/expressions.test.js | |
parent | 80c71c7c56d15dc05ec0c5a848130aad222d7d51 (diff) | |
download | astro-9502fbf4a9ca8701629be9a7dcf955ae78541fbe.tar.gz astro-9502fbf4a9ca8701629be9a7dcf955ae78541fbe.tar.zst astro-9502fbf4a9ca8701629be9a7dcf955ae78541fbe.zip |
[ci] format
Diffstat (limited to 'packages/markdown/remark/test/expressions.test.js')
-rw-r--r-- | packages/markdown/remark/test/expressions.test.js | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/packages/markdown/remark/test/expressions.test.js b/packages/markdown/remark/test/expressions.test.js index 12ddc1f48..fdf578923 100644 --- a/packages/markdown/remark/test/expressions.test.js +++ b/packages/markdown/remark/test/expressions.test.js @@ -81,9 +81,7 @@ describe('expressions', () => { }); it('should unwrap HTML comments in inline code blocks', async () => { - const { code } = await renderMarkdown( - `\`{/*<!-- HTML comment -->*/}\`` - ); + const { code } = await renderMarkdown(`\`{/*<!-- HTML comment -->*/}\``); chai.expect(code).to.equal('<p><code is:raw><!-- HTML comment --></code></p>'); }); @@ -97,6 +95,6 @@ describe('expressions', () => { ` ); - chai.expect(code).to.match(/(?<!{\/\*)<!-- HTML comment -->(?!\*\/})/); + chai.expect(code).to.match(/(?<!{\/\*)<!-- HTML comment -->(?!\*\/})/); }); }); |