Revert "build: Migrate to Vite 🚀 (#6713)" This reverts commit e93bbc577613a6de6bb43c40c3b57286b4994ca5.
200 lines
4.0 KiB
Plaintext
200 lines
4.0 KiB
Plaintext
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
|
|
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`] = `
|
|
Object {
|
|
"angle": 0,
|
|
"backgroundColor": "transparent",
|
|
"boundElements": null,
|
|
"endArrowhead": "arrow",
|
|
"endBinding": null,
|
|
"fillStyle": "hachure",
|
|
"frameId": null,
|
|
"groupIds": Array [],
|
|
"height": 50,
|
|
"id": "id0",
|
|
"isDeleted": false,
|
|
"lastCommittedPoint": null,
|
|
"link": null,
|
|
"locked": false,
|
|
"opacity": 100,
|
|
"points": Array [
|
|
Array [
|
|
0,
|
|
0,
|
|
],
|
|
Array [
|
|
30,
|
|
50,
|
|
],
|
|
],
|
|
"roughness": 1,
|
|
"roundness": Object {
|
|
"type": 2,
|
|
},
|
|
"seed": 337897,
|
|
"startArrowhead": null,
|
|
"startBinding": null,
|
|
"strokeColor": "#1e1e1e",
|
|
"strokeStyle": "solid",
|
|
"strokeWidth": 1,
|
|
"type": "arrow",
|
|
"updated": 1,
|
|
"version": 3,
|
|
"versionNonce": 449462985,
|
|
"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`] = `
|
|
Object {
|
|
"angle": 0,
|
|
"backgroundColor": "transparent",
|
|
"boundElements": null,
|
|
"fillStyle": "hachure",
|
|
"frameId": null,
|
|
"groupIds": Array [],
|
|
"height": 50,
|
|
"id": "id0",
|
|
"isDeleted": false,
|
|
"link": null,
|
|
"locked": false,
|
|
"opacity": 100,
|
|
"roughness": 1,
|
|
"roundness": Object {
|
|
"type": 2,
|
|
},
|
|
"seed": 337897,
|
|
"strokeColor": "#1e1e1e",
|
|
"strokeStyle": "solid",
|
|
"strokeWidth": 1,
|
|
"type": "diamond",
|
|
"updated": 1,
|
|
"version": 2,
|
|
"versionNonce": 1278240551,
|
|
"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`] = `
|
|
Object {
|
|
"angle": 0,
|
|
"backgroundColor": "transparent",
|
|
"boundElements": null,
|
|
"fillStyle": "hachure",
|
|
"frameId": null,
|
|
"groupIds": Array [],
|
|
"height": 50,
|
|
"id": "id0",
|
|
"isDeleted": false,
|
|
"link": null,
|
|
"locked": false,
|
|
"opacity": 100,
|
|
"roughness": 1,
|
|
"roundness": Object {
|
|
"type": 2,
|
|
},
|
|
"seed": 337897,
|
|
"strokeColor": "#1e1e1e",
|
|
"strokeStyle": "solid",
|
|
"strokeWidth": 1,
|
|
"type": "ellipse",
|
|
"updated": 1,
|
|
"version": 2,
|
|
"versionNonce": 1278240551,
|
|
"width": 30,
|
|
"x": 30,
|
|
"y": 20,
|
|
}
|
|
`;
|
|
|
|
exports[`Test dragCreate add element to the scene when pointer dragging long enough line 1`] = `
|
|
Object {
|
|
"angle": 0,
|
|
"backgroundColor": "transparent",
|
|
"boundElements": null,
|
|
"endArrowhead": null,
|
|
"endBinding": null,
|
|
"fillStyle": "hachure",
|
|
"frameId": null,
|
|
"groupIds": Array [],
|
|
"height": 50,
|
|
"id": "id0",
|
|
"isDeleted": false,
|
|
"lastCommittedPoint": null,
|
|
"link": null,
|
|
"locked": false,
|
|
"opacity": 100,
|
|
"points": Array [
|
|
Array [
|
|
0,
|
|
0,
|
|
],
|
|
Array [
|
|
30,
|
|
50,
|
|
],
|
|
],
|
|
"roughness": 1,
|
|
"roundness": Object {
|
|
"type": 2,
|
|
},
|
|
"seed": 337897,
|
|
"startArrowhead": null,
|
|
"startBinding": null,
|
|
"strokeColor": "#1e1e1e",
|
|
"strokeStyle": "solid",
|
|
"strokeWidth": 1,
|
|
"type": "line",
|
|
"updated": 1,
|
|
"version": 3,
|
|
"versionNonce": 449462985,
|
|
"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`] = `
|
|
Object {
|
|
"angle": 0,
|
|
"backgroundColor": "transparent",
|
|
"boundElements": null,
|
|
"fillStyle": "hachure",
|
|
"frameId": null,
|
|
"groupIds": Array [],
|
|
"height": 50,
|
|
"id": "id0",
|
|
"isDeleted": false,
|
|
"link": null,
|
|
"locked": false,
|
|
"opacity": 100,
|
|
"roughness": 1,
|
|
"roundness": Object {
|
|
"type": 3,
|
|
},
|
|
"seed": 337897,
|
|
"strokeColor": "#1e1e1e",
|
|
"strokeStyle": "solid",
|
|
"strokeWidth": 1,
|
|
"type": "rectangle",
|
|
"updated": 1,
|
|
"version": 2,
|
|
"versionNonce": 1278240551,
|
|
"width": 30,
|
|
"x": 30,
|
|
"y": 20,
|
|
}
|
|
`;
|