mirror of
https://github.com/block/buzz.git
synced 2026-08-18 06:50:31 +02:00
Support TTS speed in desktop screenshot harness
Signed-off-by: John Tennant <jtennant@squareup.com>
This commit is contained in:
committed by
John Tennant
parent
eaa0d3238e
commit
d373e552f6
@@ -2817,6 +2817,7 @@ let mockClosedChannelLiveSubscription = false;
|
||||
const realSockets = new Map<number, WebSocket>();
|
||||
let mockManagedAgents: MockManagedAgent[] = [];
|
||||
let mockManagedAgentRuntimes: MockManagedAgentRuntimeRow[] = [];
|
||||
let mockTtsPlaybackSpeed = 1;
|
||||
|
||||
// Mutable `save_subscriptions` table mirror — TEST-ONLY.
|
||||
//
|
||||
@@ -9838,6 +9839,11 @@ export function maybeInstallE2eTauriMocks() {
|
||||
}
|
||||
case "preview_pocket_voice":
|
||||
return null;
|
||||
case "get_tts_playback_speed":
|
||||
return mockTtsPlaybackSpeed;
|
||||
case "set_tts_playback_speed":
|
||||
mockTtsPlaybackSpeed = (payload as { speed: number }).speed;
|
||||
return null;
|
||||
case "get_builderlab_auth":
|
||||
return activeConfig?.mock?.builderlabAuth ?? null;
|
||||
case "start_builderlab_login": {
|
||||
|
||||
Reference in New Issue
Block a user