import * as ReactDOM from "react-dom"; export const Foo = () =>
; export function test() { const element = document.createElement("div"); element.id = "custom-emotion-jsx"; document.body.appendChild(element); ReactDOM.render(, element); const style = window.getComputedStyle(element.firstChild); if (!(style["content"] ?? "").includes("it worked!")) { throw new Error('Expected "it worked!" but received: ' + style["content"]); } return testDone(import.meta.url); }