diff --git a/packages/mdx/test/index.test.js b/packages/mdx/test/index.test.js index b940b73c5..78b7ff5f9 100644 --- a/packages/mdx/test/index.test.js +++ b/packages/mdx/test/index.test.js @@ -70,7 +70,10 @@ it('Should output parseable JSX', async () => { }) it('Should be able to render JSX with React', async () => { - const result = await renderWithReact('# Hello, world!') + const result = await renderWithReact(`# Hello, world! + + const code = () => \`template string\` + `) expect(result).toContain('