Skip to content

Commit 127c585

Browse files
committed
Fixed rowHook test.
1 parent d9187a5 commit 127c585

1 file changed

Lines changed: 2 additions & 4 deletions

File tree

src/steps/ValidationStep/tests/ValidationStep.test.tsx

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -609,11 +609,9 @@ describe("Validation step tests", () => {
609609
expect(lastNameCell).toBeInTheDocument()
610610

611611
// activate input
612-
await act(async () => {
613-
await userEvent.click(nameCell)
612+
await userEvent.click(nameCell)
614613

615-
await userEvent.keyboard(NEW_NAME + " " + NEW_LASTNAME + "{enter}")
616-
})
614+
await userEvent.keyboard(NEW_NAME + " " + NEW_LASTNAME + "{enter}")
617615

618616
const newNameCell = screen.getByRole("gridcell", {
619617
name: NEW_NAME,

0 commit comments

Comments
 (0)