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);
}
/ansg191/astro/'>astro |
Unnamed repository; edit this file 'description' to name the repository. | |
Age | Commit message (Collapse) | Author | Files | Lines |
|
|
|
|
|
|
|
server in preview mode (#10208)
* fix(node): add user specified headers to preview server responses
* docs: clarify comment
* style: new line
* test: remove test
* chore: add changeset
|