Skip to content

Local-first AI coding agent desktop: Electron + Rust host core + pi Agent Harness + user-installable plugins

test(live-voice): mount global toast in interaction fixture

vastsa38e9c3d83ab0
diff --git a/apps/desktop/test/fixtures/live-voice-interaction.jsx b/apps/desktop/test/fixtures/live-voice-interaction.jsx
index 9aa145e05..4531c1a30 100644
--- a/apps/desktop/test/fixtures/live-voice-interaction.jsx
+++ b/apps/desktop/test/fixtures/live-voice-interaction.jsx
@@ -7,6 +7,7 @@ import { IPC, KEYBOARD_SHORTCUTS, keybindingMatchesEvent, resolveKeybinding } fr
import { useAppStore } from "../../src/stores/app-store";
import { PortalVisibilityProvider } from "../../src/lib/portal-visibility";
import { LiveVoiceControls } from "../../src/features/voice/live/LiveVoiceControls";
+import { ToastHost } from "../../src/components/Toast";
import { LiveVoiceStatusHost } from "../../src/features/voice/live/LiveVoiceStatusHost";
import { getLiveCallController } from "../../src/features/voice/live/live-call-controller";
import { runLiveVoiceShortcut } from "../../src/features/voice/live/live-voice-shortcuts";
@@ -236,6 +237,7 @@ function SimulatedShell() {
</PortalVisibilityProvider>
) : <p data-fixture-settings>Settings route: composer unmounted</p>}
<LiveVoiceStatusHost />
+ <ToastHost />
</div>
);
}