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( '
The ampersand in
must be encoded in code blocks.
.*The ampersand in ` `/ - ); - }) + chai.expect(code).to.match(/^.*The ampersand in ` `/); + }); it('should be able to serialize function expression', async () => { const { code } = await renderMarkdown(