test: Added tests for setNodes and setEdges.
ref: N25B-114
This commit is contained in:
@@ -63,7 +63,7 @@ export const mockReactFlow = () => {
|
||||
});
|
||||
};
|
||||
|
||||
beforeEach(() => { useFlowStore.setState({ nodes: [], edges: [] }); })
|
||||
beforeEach(() => { useFlowStore.setState({ nodes: [], edges: [] }); });
|
||||
|
||||
afterEach(() => { cleanup(); });
|
||||
|
||||
|
||||
Reference in New Issue
Block a user