mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-10-21 23:20:39 +02:00
remove type when id provided in tests
This commit is contained in:
@@ -462,7 +462,6 @@ describe("Test Transform", () => {
|
|||||||
height: 300,
|
height: 300,
|
||||||
},
|
},
|
||||||
end: {
|
end: {
|
||||||
type: "ellipse",
|
|
||||||
id: "ellipse-1",
|
id: "ellipse-1",
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
@@ -473,11 +472,9 @@ describe("Test Transform", () => {
|
|||||||
width: 400,
|
width: 400,
|
||||||
strokeColor: "#e67700",
|
strokeColor: "#e67700",
|
||||||
start: {
|
start: {
|
||||||
type: "diamond",
|
|
||||||
id: "diamond-1",
|
id: "diamond-1",
|
||||||
},
|
},
|
||||||
end: {
|
end: {
|
||||||
type: "ellipse",
|
|
||||||
id: "ellipse-1",
|
id: "ellipse-1",
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
@@ -525,11 +522,9 @@ describe("Test Transform", () => {
|
|||||||
text: "HELLO WORLD!!",
|
text: "HELLO WORLD!!",
|
||||||
},
|
},
|
||||||
start: {
|
start: {
|
||||||
type: "text",
|
|
||||||
id: "text-1",
|
id: "text-1",
|
||||||
},
|
},
|
||||||
end: {
|
end: {
|
||||||
type: "rectangle",
|
|
||||||
id: "rect-1",
|
id: "rect-1",
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
Reference in New Issue
Block a user