test: added test
added test for addNode ref: N25B-114
This commit is contained in:
@@ -58,11 +58,13 @@ export const mockReactFlow = () => {
|
||||
(globalThis.SVGElement as never).prototype.getBBox = () => ({
|
||||
x: 0,
|
||||
y: 0,
|
||||
width: 0,
|
||||
height: 0,
|
||||
width: 200,
|
||||
height: 200,
|
||||
});
|
||||
};
|
||||
|
||||
|
||||
|
||||
beforeAll(() => {
|
||||
useFlowStore.setState({
|
||||
nodes: [],
|
||||
|
||||
Reference in New Issue
Block a user