mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-05-03 10:00:07 -04:00
parent
5252726307
commit
61e5b66dac
23 changed files with 964 additions and 86 deletions
|
@ -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);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue