We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a66c9da commit dc1c977Copy full SHA for dc1c977
src/test/dragAndDropHandler/index.test.ts
@@ -341,13 +341,17 @@ describe(".mouseDrag", () => {
341
// mouse start
342
dragAndDropHandler.mouseDrag({
343
originalEvent: new Event("mousemove"),
344
- pageX: 10,
+ pageX: 15,
345
pageY: 30,
346
target: node2.element as HTMLElement,
347
});
348
349
const dragElement = document.querySelector(".jqtree-dragging");
350
- expect(dragElement).toHaveStyle({ left: "10px", top: "30px" });
+ expect(dragElement).toHaveStyle({
351
+ left: "5px",
352
+ position: "absolute",
353
+ top: "20px",
354
+ });
355
356
357
0 commit comments