test: Added tests for setNodes and setEdges.

ref: N25B-114
This commit is contained in:
JGerla
2025-10-25 14:59:34 +02:00
parent ea79de5ee5
commit 023e1d2b8b
2 changed files with 80 additions and 5 deletions

View File

@@ -63,7 +63,7 @@ export const mockReactFlow = () => {
});
};
beforeEach(() => { useFlowStore.setState({ nodes: [], edges: [] }); })
beforeEach(() => { useFlowStore.setState({ nodes: [], edges: [] }); });
afterEach(() => { cleanup(); });