fix: make console graph demo usable

This commit is contained in:
lda
2026-07-02 23:14:06 +07:00 Verified
parent 3cdcf6ff3b
commit 86ccbe35cf
9 changed files with 1560 additions and 23 deletions
@@ -85,6 +85,7 @@ describe("WorkflowGraph", () => {
expect(findNodeById(container, "start")).not.toBeNull();
expect(findNodeById(container, "review")).not.toBeNull();
expect(findNodeById(container, "end")).not.toBeNull();
expect(container.querySelectorAll(".react-flow__handle")).toHaveLength(6);
});
it("calls onNodeSelect when node is clicked", () => {