This commit is contained in:
Benjamin Palko 2025-04-10 13:14:59 -04:00
parent ac35d7e35b
commit 7639585a91
13 changed files with 593 additions and 56 deletions

19
test/base.test.tsx Normal file
View file

@ -0,0 +1,19 @@
describe("JSX", () => {
it("should render basic", () => {
const Component = () => {
console.log("Component");
return (
<div>
<span>First</span>
</div>
);
};
const rendered = (
<div>
<span>Second</span>
<Component />
</div>
);
console.log(JSON.stringify(rendered, null, 2));
});
});