[ci] format

This commit is contained in:
tony-sull 2022-06-20 19:10:59 +00:00 committed by github-actions[bot]
parent 48e67fe053
commit 0519601b52

View file

@ -81,7 +81,7 @@ describe('expressions', () => {
.expect(code) .expect(code)
.to.equal( .to.equal(
'<p>The ampersand in <code is:raw>&amp;nbsp;</code> must be encoded in code blocks.</p>' '<p>The ampersand in <code is:raw>&amp;nbsp;</code> must be encoded in code blocks.</p>'
) );
}); });
it('should be able to encode ampersand characters in fenced code blocks', async () => { it('should be able to encode ampersand characters in fenced code blocks', async () => {
@ -91,12 +91,8 @@ describe('expressions', () => {
\`\`\` \`\`\`
`); `);
chai chai.expect(code).to.match(/^<pre is:raw.*<code>.*The ampersand in `&amp;nbsp;`/);
.expect(code) });
.to.match(
/^<pre is:raw.*<code>.*The ampersand in `&amp;nbsp;`/
);
})
it('should be able to serialize function expression', async () => { it('should be able to serialize function expression', async () => {
const { code } = await renderMarkdown( const { code } = await renderMarkdown(