Skip to content

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

test(updater): pin the platform so Linux runners exercise the checks (#2125)

Gabriel Stein2b80a7097593
diff --git a/test/helpers/updater.test.js b/test/helpers/updater.test.js
index a5cc947a3..51d91a3ac 100644
--- a/test/helpers/updater.test.js
+++ b/test/helpers/updater.test.js
@@ -74,6 +74,9 @@ function setPlatform(platform) {
beforeEach((t) => {
t.mock.method(console, "log", () => {});
t.mock.method(console, "error", () => {});
+ // The updater is unsupported on Linux outside an AppImage, so a test that
+ // does not pick a platform would never check for updates on a Linux CI runner.
+ setPlatform("darwin");
});
afterEach(() => {