From 3eae412e98368d7c4339c92e3fd3d438b6bf648d Mon Sep 17 00:00:00 2001 From: Linus Rath <139418639+rathlinus@users.noreply.github.com> Date: Tue, 3 Nov 2026 15:16:45 +0100 Subject: [PATCH] test: make the sub-address Escape test fail when the key reaches the composer --- .../__tests__/sub-address-helper.test.tsx | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/components/identity/__tests__/sub-address-helper.test.tsx b/components/identity/__tests__/sub-address-helper.test.tsx index c1ba4accb..2170d3f28 100644 --- a/components/identity/__tests__/sub-address-helper.test.tsx +++ b/components/identity/__tests__/sub-address-helper.test.tsx @@ -17,6 +17,21 @@ describe('SubAddressHelper', () => { expect(screen.queryByRole('dialog')).toBeNull(); }); + it('keeps that Escape from what is around it, so the composer stays open', () => { + const composerKey = vi.fn(); + render( +