From 9b99d6b91eb8680ab7a9ffcaccd738d46cf132d1 Mon Sep 17 00:00:00 2001 From: ethernet Date: Thu, 24 Sep 2026 14:43:13 -0400 Subject: [PATCH] test(desktop): a check error shows one plain status line de89d9c95b stopped appending the transport message to "couldn't reach the update server"; the details stay in the expandable error. Pin that instead of the old concatenated line. --- apps/desktop/src/components/update-status.test.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/desktop/src/components/update-status.test.tsx b/apps/desktop/src/components/update-status.test.tsx index 09a15ad160..e5544466c6 100644 --- a/apps/desktop/src/components/update-status.test.tsx +++ b/apps/desktop/src/components/update-status.test.tsx @@ -59,11 +59,11 @@ describe('deriveUpdateStatus', () => { expect(view.supported).toBe(false) }) - it('check error includes both the transport message and the underlying error', () => { + it('check error shows one plain line and keeps the transport message with the error', () => { const view = derive({ supported: true, error: 'check-failed', message: 'ECONNREFUSED' }) expect(view.tone).toBe('error') - expect(view.line).toBe(`${en.updates.cantReach} ECONNREFUSED`) + expect(view.line).toBe(en.updates.cantReach) expect(view.error).toBe('ECONNREFUSED\ncheck-failed') })