Skip to content

Voice-to-text dictation app with local (Nvidia Parakeet/Whisper) and cloud models (BYOK). Privacy-first and available cross-platform.

fix: failing test

Chadpihacaeef3b8026a
diff --git a/test/helpers/hotkeySlotUnregister.test.js b/test/helpers/hotkeySlotUnregister.test.js
index d24c1e003..b180d3952 100644
--- a/test/helpers/hotkeySlotUnregister.test.js
+++ b/test/helpers/hotkeySlotUnregister.test.js
@@ -73,6 +73,9 @@ test("unregisterSlot never releases an accelerator the slot does not own", async
await manager.registerSlot("agent", "F7", noop, { atomic: true });
await manager.registerSlot("cancel", "F8", noop, { atomic: true });
+ // On Linux, registration defensively unregisters its own accelerator before
+ // registering it; only the teardown's unregister calls are under test here.
+ unregisterCalls.length = 0;
manager.unregisterSlot("agent");