[ci] format
This commit is contained in:
parent
48e67fe053
commit
0519601b52
1 changed files with 3 additions and 7 deletions
|
@ -81,7 +81,7 @@ describe('expressions', () => {
|
||||||
.expect(code)
|
.expect(code)
|
||||||
.to.equal(
|
.to.equal(
|
||||||
'<p>The ampersand in <code is:raw>&nbsp;</code> must be encoded in code blocks.</p>'
|
'<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 () => {
|
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 `&nbsp;`/);
|
||||||
.expect(code)
|
});
|
||||||
.to.match(
|
|
||||||
/^<pre is:raw.*<code>.*The ampersand in `&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(
|
||||||
|
|
Loading…
Reference in a new issue