mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-09-24 01:40:41 +02:00
@@ -45,7 +45,7 @@ it("clones arrow element", () => {
|
||||
],
|
||||
});
|
||||
|
||||
const copy = duplicateElement(element);
|
||||
const copy = duplicateElement(null, new Map(), element);
|
||||
|
||||
assertCloneObjects(element, copy);
|
||||
|
||||
@@ -82,7 +82,7 @@ it("clones text element", () => {
|
||||
textAlign: "left",
|
||||
});
|
||||
|
||||
const copy = duplicateElement(element);
|
||||
const copy = duplicateElement(null, new Map(), element);
|
||||
|
||||
assertCloneObjects(element, copy);
|
||||
|
||||
|
Reference in New Issue
Block a user