123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209 |
- // Vitest Snapshot v1, https://vitest.dev/guide/snapshot.html
- exports[`Test dragCreate > add element to the scene when pointer dragging long enough > arrow 1`] = `1`;
- exports[`Test dragCreate > add element to the scene when pointer dragging long enough > arrow 2`] = `
- {
- "angle": 0,
- "backgroundColor": "transparent",
- "boundElements": null,
- "customData": undefined,
- "endArrowhead": "arrow",
- "endBinding": null,
- "fillStyle": "solid",
- "frameId": null,
- "groupIds": [],
- "height": 50,
- "id": "id0",
- "index": "a0",
- "isDeleted": false,
- "lastCommittedPoint": null,
- "link": null,
- "locked": false,
- "opacity": 100,
- "points": [
- [
- 0,
- 0,
- ],
- [
- 30,
- 50,
- ],
- ],
- "roughness": 1,
- "roundness": {
- "type": 2,
- },
- "seed": 1278240551,
- "startArrowhead": null,
- "startBinding": null,
- "strokeColor": "#1e1e1e",
- "strokeStyle": "solid",
- "strokeWidth": 2,
- "type": "arrow",
- "updated": 1,
- "version": 4,
- "versionNonce": 2019559783,
- "width": 30,
- "x": 30,
- "y": 20,
- }
- `;
- exports[`Test dragCreate > add element to the scene when pointer dragging long enough > diamond 1`] = `1`;
- exports[`Test dragCreate > add element to the scene when pointer dragging long enough > diamond 2`] = `
- {
- "angle": 0,
- "backgroundColor": "transparent",
- "boundElements": null,
- "customData": undefined,
- "fillStyle": "solid",
- "frameId": null,
- "groupIds": [],
- "height": 50,
- "id": "id0",
- "index": "a0",
- "isDeleted": false,
- "link": null,
- "locked": false,
- "opacity": 100,
- "roughness": 1,
- "roundness": {
- "type": 2,
- },
- "seed": 1278240551,
- "strokeColor": "#1e1e1e",
- "strokeStyle": "solid",
- "strokeWidth": 2,
- "type": "diamond",
- "updated": 1,
- "version": 3,
- "versionNonce": 401146281,
- "width": 30,
- "x": 30,
- "y": 20,
- }
- `;
- exports[`Test dragCreate > add element to the scene when pointer dragging long enough > ellipse 1`] = `1`;
- exports[`Test dragCreate > add element to the scene when pointer dragging long enough > ellipse 2`] = `
- {
- "angle": 0,
- "backgroundColor": "transparent",
- "boundElements": null,
- "customData": undefined,
- "fillStyle": "solid",
- "frameId": null,
- "groupIds": [],
- "height": 50,
- "id": "id0",
- "index": "a0",
- "isDeleted": false,
- "link": null,
- "locked": false,
- "opacity": 100,
- "roughness": 1,
- "roundness": {
- "type": 2,
- },
- "seed": 1278240551,
- "strokeColor": "#1e1e1e",
- "strokeStyle": "solid",
- "strokeWidth": 2,
- "type": "ellipse",
- "updated": 1,
- "version": 3,
- "versionNonce": 401146281,
- "width": 30,
- "x": 30,
- "y": 20,
- }
- `;
- exports[`Test dragCreate > add element to the scene when pointer dragging long enough > line 1`] = `
- {
- "angle": 0,
- "backgroundColor": "transparent",
- "boundElements": null,
- "customData": undefined,
- "endArrowhead": null,
- "endBinding": null,
- "fillStyle": "solid",
- "frameId": null,
- "groupIds": [],
- "height": 50,
- "id": "id0",
- "index": "a0",
- "isDeleted": false,
- "lastCommittedPoint": null,
- "link": null,
- "locked": false,
- "opacity": 100,
- "points": [
- [
- 0,
- 0,
- ],
- [
- 30,
- 50,
- ],
- ],
- "roughness": 1,
- "roundness": {
- "type": 2,
- },
- "seed": 1278240551,
- "startArrowhead": null,
- "startBinding": null,
- "strokeColor": "#1e1e1e",
- "strokeStyle": "solid",
- "strokeWidth": 2,
- "type": "line",
- "updated": 1,
- "version": 4,
- "versionNonce": 2019559783,
- "width": 30,
- "x": 30,
- "y": 20,
- }
- `;
- exports[`Test dragCreate > add element to the scene when pointer dragging long enough > rectangle 1`] = `1`;
- exports[`Test dragCreate > add element to the scene when pointer dragging long enough > rectangle 2`] = `
- {
- "angle": 0,
- "backgroundColor": "transparent",
- "boundElements": null,
- "customData": undefined,
- "fillStyle": "solid",
- "frameId": null,
- "groupIds": [],
- "height": 50,
- "id": "id0",
- "index": "a0",
- "isDeleted": false,
- "link": null,
- "locked": false,
- "opacity": 100,
- "roughness": 1,
- "roundness": {
- "type": 3,
- },
- "seed": 1278240551,
- "strokeColor": "#1e1e1e",
- "strokeStyle": "solid",
- "strokeWidth": 2,
- "type": "rectangle",
- "updated": 1,
- "version": 3,
- "versionNonce": 401146281,
- "width": 30,
- "x": 30,
- "y": 20,
- }
- `;
|