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