import React from "react" import test from "ava" import { createRoot } from "lib/render" import { createProjectBuilder } from "@tscircuit/builder" import { logLayout } from "./utils/log-layout" import "types/intrinsic-jsx.d.ts" const Resistor = () => ( ) const Led = () => ( ) const ExampleCircuit = () => { return ( {/* */} {/* */} ) } test("example led-circuit", async (t) => { const pb = createProjectBuilder() const result = await createRoot().render(, pb) await logLayout("led circuit react-fiber", result) t.pass() })