From 79ec8e2786b8ddfa68faff08636250ac28f70575 Mon Sep 17 00:00:00 2001 From: Niko1221 Date: Sun, 25 Oct 2026 11:16:25 +0100 Subject: [PATCH] Host test: the source check for 'a version that is not downloaded starts with Read pictures on' accepts the braced else that the DeepSeek 8K context fix introduced (test only) --- apps/host/tests/qa1-downloads.test.mjs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/host/tests/qa1-downloads.test.mjs b/apps/host/tests/qa1-downloads.test.mjs index 9a7feb3f..e0ef38d4 100644 --- a/apps/host/tests/qa1-downloads.test.mjs +++ b/apps/host/tests/qa1-downloads.test.mjs @@ -145,7 +145,7 @@ test('4d: picture reading is on unless the person turned it off (no saved choice } finally { await f.cleanup(); } const screen = readSource(new URL('../src/components/NativeModels.tsx', import.meta.url), 'utf8'); assert.match(screen, /setVision\(installed\.visionEnabled === false \? 'no'/); - assert.match(screen, /else\s+setVision\('yes'\)/, 'a version that is not downloaded starts with Read pictures on'); + assert.match(screen, /else\s*\{?\s*setVision\('yes'\)/, 'a version that is not downloaded starts with Read pictures on'); }); test('no recognised engine: the app still downloads, warns in the card, and loading says it with the next step', async () => {