Updates
Rolling release / release (push) Successful in 6m40s

This commit is contained in:
2026-09-12 07:22:47 -04:00
parent e4546f8e95
commit e9040d110a
30 changed files with 1688 additions and 444 deletions
+10 -1
View File
@@ -2,7 +2,7 @@ import test from 'node:test';
import assert from 'node:assert/strict';
import { spawn } from 'node:child_process';
import { chmod, cp, mkdir, mkdtemp, readFile, rm, writeFile } from 'node:fs/promises';
import { existsSync } from 'node:fs';
import { existsSync, readFileSync } from 'node:fs';
import os from 'node:os';
import path from 'node:path';
import { fileURLToPath } from 'node:url';
@@ -127,3 +127,12 @@ exit 0
await rm(work, { recursive: true, force: true });
}
});
test('first-run keeps TTS enabled even when the preview is skipped', () => {
const source = readFileSync(new URL('../packaging/first-run.sh', import.meta.url), 'utf8');
assert.match(source, /Play a TTS preview now\?/);
assert.match(source, /TTS_ENABLED=true/);
assert.doesNotMatch(source, /Enable TTS preview\?/);
assert.doesNotMatch(source, /TTS_ENABLED=false/);
assert.match(source, /spoken replies remain enabled/);
});