mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-05-03 10:00:07 -04:00
update deselection tests to use act() helper, per #8322
This commit is contained in:
parent
ace478a0eb
commit
4f1664cc90
1 changed files with 2 additions and 2 deletions
|
@ -126,7 +126,7 @@ describe("deselect when pressing escape", () => {
|
|||
height: 50,
|
||||
});
|
||||
|
||||
h.elements = [rect1, rect2];
|
||||
API.setElements([rect1, rect2]);
|
||||
|
||||
mouse.clickAt(0, 0);
|
||||
|
||||
|
@ -170,7 +170,7 @@ describe("deselect when pressing escape", () => {
|
|||
height: 50,
|
||||
});
|
||||
|
||||
h.elements = [rect1, rect2, rect3];
|
||||
API.setElements([rect1, rect2, rect3]);
|
||||
|
||||
mouse.downAt(-10, -10);
|
||||
mouse.moveTo(160, 60);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue