import React from "react" import test from "ava" import { getTestFixture } from "./fixtures/get-test-fixture" import type { SchematicComponent } from "@tscircuit/builder" import { layout } from "@tscircuit/layout" import { PcbSilkscreenText } from "@tscircuit/soup" test("silkscreen text render", async (t) => { const { render, logSoup } = await getTestFixture(t) const soup = await render( } > ) await logSoup(soup) const text = soup.find( (s) => s.type === "pcb_silkscreen_text" ) as PcbSilkscreenText t.is(text?.text, "hello world") })