feat(frontend): register schema-linking widget + response summary

This commit is contained in:
2026-07-06 23:25:00 +02:00
committed by Marco Pancotti
parent b6397bd965
commit 32b8e78032
3 changed files with 12 additions and 1 deletions
+6
View File
@@ -13,3 +13,9 @@ test("resolve falls back for unknown kind and shows the JSON", () => {
render(<Comp descriptor={{ id: "u1", widget: "totally-unknown", title: "X" } as any} onRespond={() => {}} />);
expect(screen.getByText(/Unsupported widget/i)).toBeInTheDocument();
});
test("index registers the schema-linking widget", async () => {
await import("./index");
const Comp = resolve("schema-linking");
expect(Comp.name).toBe("SchemaLinkingGateWidget");
});