diff --git a/src/Toast.test.tsx b/src/Toast.test.tsx index 28c4aef85..22842d05f 100644 --- a/src/Toast.test.tsx +++ b/src/Toast.test.tsx @@ -69,17 +69,4 @@ describe("Toast", () => { expect(onDismiss).toHaveBeenCalled(); }); }); - - test("dismisses when Esc is pressed", async () => { - const user = userEvent.setup(); - const onDismiss = vi.fn(); - const { debug } = render( - - Hello world! - , - ); - debug(); - await user.keyboard("[Escape]"); - expect(onDismiss).toHaveBeenCalled(); - }); });