fix: use public api

This commit is contained in:
Csongor Czezar
2026-01-02 15:00:56 -08:00
parent 6866bd4792
commit 530717983f

View File

@@ -349,7 +349,7 @@ describe('useExecutionStore - executingNode with subgraphs', () => {
id: 'sub-uuid'
})
// Add the mock node to the subgraph
testSubgraph._nodes.push(mockNodeInSubgraph)
testSubgraph.add(mockNodeInSubgraph)
// Create a subgraph node using the helper
const mockSubgraphNode = createTestSubgraphNode(testSubgraph, {