import React, { Fragment } from "react" import test from "ava" import { createRoot } from "lib/render" import { createProjectBuilder } from "@tscircuit/builder" import { logLayout } from "./utils/log-layout" export const ExampleCircuit = () => { return ( port.right", ".C1 > port.left", ".R2 > port.left"]} /> port.positive", ".R1 > port.left"]} /> port.negative", ".C1 > port.right", ".R2 > port.right"]} /> port.PWR", ".R2 > port.left"]} /> ) } test("example led-circuit (2)", async (t) => { const pb = createProjectBuilder() const result = await createRoot().render(, pb) await logLayout("led circuit 2", result) t.pass() })