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)

This commit is contained in:
Niko1221 committed 2026-10-25 11:16:25 +01:00
1 parent 27a8ed96b6
commit 79ec8e2786
1 file changed
+1 -1
+1 -1
View File
@@ -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 () => {