mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-05-03 10:00:07 -04:00
fix: missing act()
in flowchart tests (#8354)
This commit is contained in:
parent
d5f4ee7b3f
commit
1ea5b26f25
3 changed files with 15 additions and 10 deletions
|
@ -36,7 +36,7 @@ describe("flow chart creation", () => {
|
|||
height: 100,
|
||||
});
|
||||
|
||||
h.elements = [rectangle];
|
||||
API.setElements([rectangle]);
|
||||
API.setSelectedElements([rectangle]);
|
||||
});
|
||||
|
||||
|
@ -166,7 +166,7 @@ describe("flow chart navigation", () => {
|
|||
height: 100,
|
||||
});
|
||||
|
||||
h.elements = [rectangle];
|
||||
API.setElements([rectangle]);
|
||||
API.setSelectedElements([rectangle]);
|
||||
|
||||
Keyboard.withModifierKeys({ ctrl: true }, () => {
|
||||
|
@ -234,7 +234,7 @@ describe("flow chart navigation", () => {
|
|||
height: 100,
|
||||
});
|
||||
|
||||
h.elements = [rectangle];
|
||||
API.setElements([rectangle]);
|
||||
API.setSelectedElements([rectangle]);
|
||||
|
||||
Keyboard.withModifierKeys({ ctrl: true }, () => {
|
||||
|
@ -325,7 +325,7 @@ describe("flow chart navigation", () => {
|
|||
height: 100,
|
||||
});
|
||||
|
||||
h.elements = [rectangle];
|
||||
API.setElements([rectangle]);
|
||||
API.setSelectedElements([rectangle]);
|
||||
|
||||
Keyboard.withModifierKeys({ ctrl: true }, () => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue