test: fix tts status helper temp-home prefs path

This commit is contained in:
Peter Steinberger
2026-03-28 08:58:53 +00:00
parent 0e11072b84
commit 030d2e8b71

View File

@@ -22,7 +22,17 @@ describe("resolveStatusTtsSnapshot", () => {
}),
);
expect(resolveStatusTtsSnapshot({ cfg: {} as OpenClawConfig })).toEqual({
expect(
resolveStatusTtsSnapshot({
cfg: {
messages: {
tts: {
prefsPath,
},
},
} as OpenClawConfig,
}),
).toEqual({
autoMode: "always",
provider: "microsoft",
maxLength: 2048,