137 lines
2.7 KiB
Plaintext
137 lines
2.7 KiB
Plaintext
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
|
|
exports[`add element to the scene when pointer dragging long enough arrow 1`] = `1`;
|
|
|
|
exports[`add element to the scene when pointer dragging long enough arrow 2`] = `
|
|
Object {
|
|
"backgroundColor": "transparent",
|
|
"fillStyle": "hachure",
|
|
"height": 50,
|
|
"id": "id0",
|
|
"isDeleted": false,
|
|
"lastCommittedPoint": null,
|
|
"opacity": 100,
|
|
"points": Array [
|
|
Array [
|
|
0,
|
|
0,
|
|
],
|
|
Array [
|
|
30,
|
|
50,
|
|
],
|
|
],
|
|
"roughness": 1,
|
|
"seed": 337897,
|
|
"strokeColor": "#000000",
|
|
"strokeWidth": 1,
|
|
"type": "arrow",
|
|
"version": 3,
|
|
"versionNonce": 449462985,
|
|
"width": 30,
|
|
"x": 30,
|
|
"y": 20,
|
|
}
|
|
`;
|
|
|
|
exports[`add element to the scene when pointer dragging long enough diamond 1`] = `1`;
|
|
|
|
exports[`add element to the scene when pointer dragging long enough diamond 2`] = `
|
|
Object {
|
|
"backgroundColor": "transparent",
|
|
"fillStyle": "hachure",
|
|
"height": 50,
|
|
"id": "id0",
|
|
"isDeleted": false,
|
|
"opacity": 100,
|
|
"roughness": 1,
|
|
"seed": 337897,
|
|
"strokeColor": "#000000",
|
|
"strokeWidth": 1,
|
|
"type": "diamond",
|
|
"version": 2,
|
|
"versionNonce": 1278240551,
|
|
"width": 30,
|
|
"x": 30,
|
|
"y": 20,
|
|
}
|
|
`;
|
|
|
|
exports[`add element to the scene when pointer dragging long enough ellipse 1`] = `1`;
|
|
|
|
exports[`add element to the scene when pointer dragging long enough ellipse 2`] = `
|
|
Object {
|
|
"backgroundColor": "transparent",
|
|
"fillStyle": "hachure",
|
|
"height": 50,
|
|
"id": "id0",
|
|
"isDeleted": false,
|
|
"opacity": 100,
|
|
"roughness": 1,
|
|
"seed": 337897,
|
|
"strokeColor": "#000000",
|
|
"strokeWidth": 1,
|
|
"type": "ellipse",
|
|
"version": 2,
|
|
"versionNonce": 1278240551,
|
|
"width": 30,
|
|
"x": 30,
|
|
"y": 20,
|
|
}
|
|
`;
|
|
|
|
exports[`add element to the scene when pointer dragging long enough line 1`] = `
|
|
Object {
|
|
"backgroundColor": "transparent",
|
|
"fillStyle": "hachure",
|
|
"height": 50,
|
|
"id": "id0",
|
|
"isDeleted": false,
|
|
"lastCommittedPoint": null,
|
|
"opacity": 100,
|
|
"points": Array [
|
|
Array [
|
|
0,
|
|
0,
|
|
],
|
|
Array [
|
|
30,
|
|
50,
|
|
],
|
|
],
|
|
"roughness": 1,
|
|
"seed": 337897,
|
|
"strokeColor": "#000000",
|
|
"strokeWidth": 1,
|
|
"type": "line",
|
|
"version": 3,
|
|
"versionNonce": 449462985,
|
|
"width": 30,
|
|
"x": 30,
|
|
"y": 20,
|
|
}
|
|
`;
|
|
|
|
exports[`add element to the scene when pointer dragging long enough rectangle 1`] = `1`;
|
|
|
|
exports[`add element to the scene when pointer dragging long enough rectangle 2`] = `
|
|
Object {
|
|
"backgroundColor": "transparent",
|
|
"fillStyle": "hachure",
|
|
"height": 50,
|
|
"id": "id0",
|
|
"isDeleted": false,
|
|
"opacity": 100,
|
|
"roughness": 1,
|
|
"seed": 337897,
|
|
"strokeColor": "#000000",
|
|
"strokeWidth": 1,
|
|
"type": "rectangle",
|
|
"version": 2,
|
|
"versionNonce": 1278240551,
|
|
"width": 30,
|
|
"x": 30,
|
|
"y": 20,
|
|
}
|
|
`;
|