Skip to content

Commit 7b3a72d

Browse files
committed
fix(web): fix failing test
1 parent 2afa82d commit 7b3a72d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/web/src/views/Forms/EventForm/EventForm.test.tsx

+2-2
Original file line numberDiff line numberDiff line change
@@ -74,8 +74,8 @@ test("should call onConvert when meta+shift+< keyboard shortcut is used", async
7474
expect(screen.getByRole("form")).toBeInTheDocument();
7575

7676
await act(async () => {
77-
// Simulate pressing Meta, then '[', then releasing them
78-
await userEvent.keyboard("{Meta>}{[}{/Meta}");
77+
// Simulate pressing Meta, then 'K', then releasing them
78+
await userEvent.keyboard("{Meta>}{K}{/Meta}");
7979
});
8080

8181
expect(mockOnConvert).toHaveBeenCalledTimes(1);

0 commit comments

Comments
 (0)