Skip to content

Commit c603304

Browse files
committed
Remove workaround in test for broken emotion
1 parent 78f70d2 commit c603304

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

packages/mdx/test/compile.js

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -198,12 +198,7 @@ test('compile', async () => {
198198
renderToStaticMarkup(
199199
React.createElement(
200200
await run(
201-
String(
202-
compileSync('<>+</>', {jsxImportSource: '@emotion/react'})
203-
).replace(
204-
/\/jsx-runtime(?=["'])/g,
205-
'$&/dist/emotion-react-jsx-runtime.cjs.prod.js'
206-
)
201+
String(compileSync('<>+</>', {jsxImportSource: '@emotion/react'}))
207202
)
208203
)
209204
),

0 commit comments

Comments
 (0)