commit afb414909a8b4c83d1fa1bf1aaaa0796129dfee1
parent 3c1bffcb6b5ec1062aab536019c4fbed82c66cdd
Author: I Mean I'm Just Saying <imeanimjustsaying@kiwifarms.st>
Date: Tue, 17 Nov 2026 12:42:56 -0500
test: the synthetic preset's shape names its tuning (characters.test.mjs)
The refusal says {voice, speed?, tuning?} since the preset took a tuning;
the assertion had the old words (found by test:scripts).
Co-Authored-By: Claude <noreply@anthropic.com>
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/umtool/report-to-video/characters.test.mjs b/umtool/report-to-video/characters.test.mjs
@@ -73,7 +73,7 @@ test("validation: the presets' shape, in the cast -- a voice and a convert targe
assert.ok(one({ synthetic: undefined }).some((e) => /voice must be a STOCK voice with its engine/.test(e)), "a cast character has a stock voice");
assert.ok(one({ synthetic: { voice: "/home/me/jeremy.wav" } }).some((e) => /STOCK voice with its engine/.test(e)));
assert.ok(one({ synthetic: { voice: "kokoro:am_michael", speed: 3 } }).some((e) => /synthetic\.speed must be a number from 0\.5 to 2/.test(e)));
- assert.ok(one({ synthetic: { voice: "kokoro:am_michael", emotion: "on" } }).some((e) => /synthetic must be \{voice, speed\?\}/.test(e)));
+ assert.ok(one({ synthetic: { voice: "kokoro:am_michael", emotion: "on" } }).some((e) => /synthetic must be \{voice, speed\?, tuning\?\}/.test(e)));
assert.ok(one({ recorded: { convert: { voice: "me.wav" } } }).some((e) => /recorded\.convert\.voice must be a STOCK voice.*never a file or a recording/.test(e)));
assert.ok(one({ recorded: { convert: { voice: "seedvc:/home/me.wav" } } }).some((e) => /never a file or a recording/.test(e)));
assert.ok(one({ recorded: { convert: { engine: "openvoice", pitch: "contour" } } }).some((e) => /pitch "contour" is seed-vc's/.test(e)));