Skip to content

Commit

Permalink
import tests
Browse files Browse the repository at this point in the history
  • Loading branch information
ShaMan123 committed Sep 15, 2023
1 parent 6ef18be commit 0c04292
Show file tree
Hide file tree
Showing 2 changed files with 728 additions and 43 deletions.
40 changes: 10 additions & 30 deletions src/canvas/__tests__/__snapshots__/eventData.test.ts.snap
Original file line number Diff line number Diff line change
Expand Up @@ -116,9 +116,7 @@ exports[`Canvas event data HTML event "dragend" should fire a corresponding canv
"x": 50,
"y": 50,
},
"subTargets": [
"Drag Target",
],
"subTargets": [],
"target": "Drag Target",
"transform": null,
},
Expand All @@ -131,9 +129,7 @@ exports[`Canvas event data HTML event "dragend" should fire a corresponding canv
"y": -13,
},
"button": 1,
"currentSubTargets": [
"Drag Target",
],
"currentSubTargets": [],
"currentTarget": "Drag Target",
"e": MouseEvent {
"isTrusted": false,
Expand All @@ -143,9 +139,7 @@ exports[`Canvas event data HTML event "dragend" should fire a corresponding canv
"x": 50,
"y": 50,
},
"subTargets": [
"Drag Target",
],
"subTargets": [],
"target": "Drag Target",
"transform": null,
},
Expand Down Expand Up @@ -188,9 +182,7 @@ exports[`Canvas event data HTML event "dragenter" should fire a corresponding ca
"e": MouseEvent {
"isTrusted": false,
},
"subTargets": [
"Drag Target",
],
"subTargets": [],
"target": "Drag Target",
},
],
Expand All @@ -211,9 +203,7 @@ exports[`Canvas event data HTML event "dragenter" should fire a corresponding ca
"y": 50,
},
"previousTarget": undefined,
"subTargets": [
"Drag Target",
],
"subTargets": [],
"target": "Drag Target",
},
],
Expand Down Expand Up @@ -265,9 +255,7 @@ exports[`Canvas event data HTML event "dragover" should fire a corresponding can
"e": MouseEvent {
"isTrusted": false,
},
"subTargets": [
"Drag Target",
],
"subTargets": [],
"target": "Drag Target",
},
],
Expand All @@ -290,9 +278,7 @@ exports[`Canvas event data HTML event "dragover" should fire a corresponding can
"y": 50,
},
"previousTarget": undefined,
"subTargets": [
"Drag Target",
],
"subTargets": [],
"target": "Drag Target",
},
],
Expand Down Expand Up @@ -327,9 +313,7 @@ exports[`Canvas event data HTML event "drop" should fire a corresponding canvas
"x": 50,
"y": 50,
},
"subTargets": [
"Drag Target",
],
"subTargets": [],
"target": "Drag Target",
},
],
Expand All @@ -350,9 +334,7 @@ exports[`Canvas event data HTML event "drop" should fire a corresponding canvas
"x": 50,
"y": 50,
},
"subTargets": [
"Drag Target",
],
"subTargets": [],
"target": "Drag Target",
},
],
Expand All @@ -373,9 +355,7 @@ exports[`Canvas event data HTML event "drop" should fire a corresponding canvas
"x": 50,
"y": 50,
},
"subTargets": [
"Drag Target",
],
"subTargets": [],
"target": "Drag Target",
},
],
Expand Down
Loading

0 comments on commit 0c04292

Please sign in to comment.