Skip to content

Commit

Permalink
Remove workaround in test for broken emotion
Browse files Browse the repository at this point in the history
  • Loading branch information
wooorm committed Aug 27, 2022
1 parent 78f70d2 commit c603304
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions packages/mdx/test/compile.js
Expand Up @@ -198,12 +198,7 @@ test('compile', async () => {
renderToStaticMarkup(
React.createElement(
await run(
String(
compileSync('<>+</>', {jsxImportSource: '@emotion/react'})
).replace(
/\/jsx-runtime(?=["'])/g,
'$&/dist/emotion-react-jsx-runtime.cjs.prod.js'
)
String(compileSync('<>+</>', {jsxImportSource: '@emotion/react'}))
)
)
),
Expand Down

0 comments on commit c603304

Please sign in to comment.