Skip to content

Self-hosted, Self-Improving, Federated Everything App — dev management, agent orchestration, persistent mind, digital twin, second brain, and creative pipeline from a single dashboard over Tailscale to port the user into the OS

test: assert Piper health state in voice probe test (#8311)

[._.]/ Adam Eivy7bdb3ea4e966
diff --git a/server/services/voice/health.test.js b/server/services/voice/health.test.js
index 5927415d5e..efbc536603 100644
--- a/server/services/voice/health.test.js
+++ b/server/services/voice/health.test.js
@@ -36,12 +36,13 @@ describe('voice health Piper probe', () => {
});
it('uses the platform-specific Piper binary name for local detection', async () => {
- await checkAll({
+ const result = await checkAll({
stt: { engine: 'web-speech', endpoint: '' },
llm: { provider: 'lmstudio' },
tts: { engine: 'piper', piper: { voicePath: '/voice/en.onnx' } },
});
expect(mocks.existsSync).toHaveBeenCalledWith(join('/voice', 'piper', 'piper.exe'));
+ expect(result.piper).toEqual({ ok: true, state: 'ready' });
});
});