test: snapshots

This commit is contained in:
Ryan Di
2025-06-20 17:28:15 +10:00
parent 53cae28d2a
commit f93b040fff

View File

@@ -314,7 +314,7 @@ exports[`Test Transform > Test arrow bindings > should bind arrows to existing t
"versionNonce": Any<Number>, "versionNonce": Any<Number>,
"verticalAlign": "top", "verticalAlign": "top",
"width": 100, "width": 100,
"x": 560, "x": 355,
"y": 226.5, "y": 226.5,
} }
`; `;
@@ -334,8 +334,8 @@ exports[`Test Transform > Test arrow bindings > should bind arrows to existing t
"endArrowhead": "arrow", "endArrowhead": "arrow",
"endBinding": { "endBinding": {
"elementId": "text-2", "elementId": "text-2",
"focus": 0, "focus": -0,
"gap": 14, "gap": 1,
}, },
"fillStyle": "solid", "fillStyle": "solid",
"frameId": null, "frameId": null,
@@ -2141,10 +2141,10 @@ exports[`Test Transform > should transform to labelled arrows when label provide
"customData": undefined, "customData": undefined,
"fillStyle": "solid", "fillStyle": "solid",
"fontFamily": 5, "fontFamily": 5,
"fontSize": 20, "fontSize": 0,
"frameId": null, "frameId": null,
"groupIds": [], "groupIds": [],
"height": 50, "height": 0,
"id": Any<String>, "id": Any<String>,
"index": "a6", "index": "a6",
"isDeleted": false, "isDeleted": false,
@@ -2159,17 +2159,19 @@ exports[`Test Transform > should transform to labelled arrows when label provide
"strokeColor": "#1098ad", "strokeColor": "#1098ad",
"strokeStyle": "solid", "strokeStyle": "solid",
"strokeWidth": 2, "strokeWidth": 2,
"text": "ANOTHER STYLED "text": "ANOTHER
LABELLED ARROW", STYLED
LABELLE
D ARROW",
"textAlign": "center", "textAlign": "center",
"type": "text", "type": "text",
"updated": 1, "updated": 1,
"version": 3, "version": 4,
"versionNonce": Any<Number>, "versionNonce": Any<Number>,
"verticalAlign": "middle", "verticalAlign": "middle",
"width": 140, "width": 70,
"x": 80, "x": 115,
"y": 275, "y": 300,
} }
`; `;
@@ -2183,10 +2185,10 @@ exports[`Test Transform > should transform to labelled arrows when label provide
"customData": undefined, "customData": undefined,
"fillStyle": "solid", "fillStyle": "solid",
"fontFamily": 5, "fontFamily": 5,
"fontSize": 20, "fontSize": 0,
"frameId": null, "frameId": null,
"groupIds": [], "groupIds": [],
"height": 50, "height": 0,
"id": Any<String>, "id": Any<String>,
"index": "a7", "index": "a7",
"isDeleted": false, "isDeleted": false,
@@ -2201,17 +2203,19 @@ exports[`Test Transform > should transform to labelled arrows when label provide
"strokeColor": "#099268", "strokeColor": "#099268",
"strokeStyle": "solid", "strokeStyle": "solid",
"strokeWidth": 2, "strokeWidth": 2,
"text": "ANOTHER STYLED "text": "ANOTHER
LABELLED ARROW", STYLED
LABELLE
D ARROW",
"textAlign": "center", "textAlign": "center",
"type": "text", "type": "text",
"updated": 1, "updated": 1,
"version": 3, "version": 4,
"versionNonce": Any<Number>, "versionNonce": Any<Number>,
"verticalAlign": "middle", "verticalAlign": "middle",
"width": 140, "width": 70,
"x": 80, "x": 115,
"y": 375, "y": 400,
} }
`; `;
@@ -2229,7 +2233,7 @@ exports[`Test Transform > should transform to text containers when label provide
"fillStyle": "solid", "fillStyle": "solid",
"frameId": null, "frameId": null,
"groupIds": [], "groupIds": [],
"height": 35, "height": 10,
"id": Any<String>, "id": Any<String>,
"index": "a0", "index": "a0",
"isDeleted": false, "isDeleted": false,
@@ -2266,7 +2270,7 @@ exports[`Test Transform > should transform to text containers when label provide
"fillStyle": "solid", "fillStyle": "solid",
"frameId": null, "frameId": null,
"groupIds": [], "groupIds": [],
"height": 85, "height": 14,
"id": Any<String>, "id": Any<String>,
"index": "a1", "index": "a1",
"isDeleted": false, "isDeleted": false,
@@ -2303,7 +2307,7 @@ exports[`Test Transform > should transform to text containers when label provide
"fillStyle": "solid", "fillStyle": "solid",
"frameId": null, "frameId": null,
"groupIds": [], "groupIds": [],
"height": 170, "height": 20,
"id": Any<String>, "id": Any<String>,
"index": "a2", "index": "a2",
"isDeleted": false, "isDeleted": false,
@@ -2340,7 +2344,7 @@ exports[`Test Transform > should transform to text containers when label provide
"fillStyle": "solid", "fillStyle": "solid",
"frameId": null, "frameId": null,
"groupIds": [], "groupIds": [],
"height": 120, "height": 20,
"id": Any<String>, "id": Any<String>,
"index": "a3", "index": "a3",
"isDeleted": false, "isDeleted": false,
@@ -2377,7 +2381,7 @@ exports[`Test Transform > should transform to text containers when label provide
"fillStyle": "solid", "fillStyle": "solid",
"frameId": null, "frameId": null,
"groupIds": [], "groupIds": [],
"height": 85, "height": 10,
"id": Any<String>, "id": Any<String>,
"index": "a4", "index": "a4",
"isDeleted": false, "isDeleted": false,
@@ -2414,7 +2418,7 @@ exports[`Test Transform > should transform to text containers when label provide
"fillStyle": "solid", "fillStyle": "solid",
"frameId": null, "frameId": null,
"groupIds": [], "groupIds": [],
"height": 120, "height": 14,
"id": Any<String>, "id": Any<String>,
"index": "a5", "index": "a5",
"isDeleted": false, "isDeleted": false,
@@ -2447,10 +2451,10 @@ exports[`Test Transform > should transform to text containers when label provide
"customData": undefined, "customData": undefined,
"fillStyle": "solid", "fillStyle": "solid",
"fontFamily": 5, "fontFamily": 5,
"fontSize": 20, "fontSize": 0,
"frameId": null, "frameId": null,
"groupIds": [], "groupIds": [],
"height": 25, "height": 0,
"id": Any<String>, "id": Any<String>,
"index": "a6", "index": "a6",
"isDeleted": false, "isDeleted": false,
@@ -2469,7 +2473,7 @@ exports[`Test Transform > should transform to text containers when label provide
"textAlign": "center", "textAlign": "center",
"type": "text", "type": "text",
"updated": 1, "updated": 1,
"version": 3, "version": 4,
"versionNonce": Any<Number>, "versionNonce": Any<Number>,
"verticalAlign": "middle", "verticalAlign": "middle",
"width": 240, "width": 240,
@@ -2488,10 +2492,10 @@ exports[`Test Transform > should transform to text containers when label provide
"customData": undefined, "customData": undefined,
"fillStyle": "solid", "fillStyle": "solid",
"fontFamily": 5, "fontFamily": 5,
"fontSize": 20, "fontSize": 0,
"frameId": null, "frameId": null,
"groupIds": [], "groupIds": [],
"height": 50, "height": 0,
"id": Any<String>, "id": Any<String>,
"index": "a7", "index": "a7",
"isDeleted": false, "isDeleted": false,
@@ -2511,12 +2515,12 @@ CONTAINER",
"textAlign": "center", "textAlign": "center",
"type": "text", "type": "text",
"updated": 1, "updated": 1,
"version": 3, "version": 4,
"versionNonce": Any<Number>, "versionNonce": Any<Number>,
"verticalAlign": "middle", "verticalAlign": "middle",
"width": 120, "width": 120,
"x": 539.7893218813452, "x": 539.7893218813452,
"y": 117.44796179957173, "y": 107.05025253169417,
} }
`; `;
@@ -2530,10 +2534,10 @@ exports[`Test Transform > should transform to text containers when label provide
"customData": undefined, "customData": undefined,
"fillStyle": "solid", "fillStyle": "solid",
"fontFamily": 5, "fontFamily": 5,
"fontSize": 20, "fontSize": 0,
"frameId": null, "frameId": null,
"groupIds": [], "groupIds": [],
"height": 75, "height": 0,
"id": Any<String>, "id": Any<String>,
"index": "a8", "index": "a8",
"isDeleted": false, "isDeleted": false,
@@ -2555,12 +2559,12 @@ CONTAINER",
"textAlign": "center", "textAlign": "center",
"type": "text", "type": "text",
"updated": 1, "updated": 1,
"version": 3, "version": 4,
"versionNonce": Any<Number>, "versionNonce": Any<Number>,
"verticalAlign": "middle", "verticalAlign": "middle",
"width": 90, "width": 90,
"x": 195, "x": 195,
"y": 197.5, "y": 160,
} }
`; `;
@@ -2574,10 +2578,10 @@ exports[`Test Transform > should transform to text containers when label provide
"customData": undefined, "customData": undefined,
"fillStyle": "solid", "fillStyle": "solid",
"fontFamily": 5, "fontFamily": 5,
"fontSize": 20, "fontSize": 0,
"frameId": null, "frameId": null,
"groupIds": [], "groupIds": [],
"height": 50, "height": 0,
"id": Any<String>, "id": Any<String>,
"index": "a9", "index": "a9",
"isDeleted": false, "isDeleted": false,
@@ -2597,12 +2601,12 @@ TEXT CONTAINER",
"textAlign": "center", "textAlign": "center",
"type": "text", "type": "text",
"updated": 1, "updated": 1,
"version": 3, "version": 4,
"versionNonce": Any<Number>, "versionNonce": Any<Number>,
"verticalAlign": "middle", "verticalAlign": "middle",
"width": 140, "width": 140,
"x": 180, "x": 180,
"y": 435, "y": 410,
} }
`; `;
@@ -2616,10 +2620,10 @@ exports[`Test Transform > should transform to text containers when label provide
"customData": undefined, "customData": undefined,
"fillStyle": "solid", "fillStyle": "solid",
"fontFamily": 5, "fontFamily": 5,
"fontSize": 20, "fontSize": 0,
"frameId": null, "frameId": null,
"groupIds": [], "groupIds": [],
"height": 75, "height": 0,
"id": Any<String>, "id": Any<String>,
"index": "aA", "index": "aA",
"isDeleted": false, "isDeleted": false,
@@ -2640,7 +2644,7 @@ CONTAINER",
"textAlign": "left", "textAlign": "left",
"type": "text", "type": "text",
"updated": 1, "updated": 1,
"version": 3, "version": 4,
"versionNonce": Any<Number>, "versionNonce": Any<Number>,
"verticalAlign": "top", "verticalAlign": "top",
"width": 160, "width": 160,
@@ -2659,10 +2663,10 @@ exports[`Test Transform > should transform to text containers when label provide
"customData": undefined, "customData": undefined,
"fillStyle": "solid", "fillStyle": "solid",
"fontFamily": 5, "fontFamily": 5,
"fontSize": 20, "fontSize": 0,
"frameId": null, "frameId": null,
"groupIds": [], "groupIds": [],
"height": 75, "height": 0,
"id": Any<String>, "id": Any<String>,
"index": "aB", "index": "aB",
"isDeleted": false, "isDeleted": false,
@@ -2683,11 +2687,11 @@ CONTAINER",
"textAlign": "center", "textAlign": "center",
"type": "text", "type": "text",
"updated": 1, "updated": 1,
"version": 3, "version": 4,
"versionNonce": Any<Number>, "versionNonce": Any<Number>,
"verticalAlign": "middle", "verticalAlign": "middle",
"width": 120, "width": 120,
"x": 539.7893218813452, "x": 539.7893218813452,
"y": 522.5735931288071, "y": 507.0502525316942,
} }
`; `;