Skip to content

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

test(whisper): collapse duplicate whisperServer require in inference-fields test

Gabriel Stein4cbfe068ea61
diff --git a/test/helpers/whisperServerInferenceFields.test.js b/test/helpers/whisperServerInferenceFields.test.js
index ab88cb3b1..a6bd4f602 100644
--- a/test/helpers/whisperServerInferenceFields.test.js
+++ b/test/helpers/whisperServerInferenceFields.test.js
@@ -3,7 +3,7 @@ const assert = require("node:assert/strict");
const http = require("node:http");
const WhisperServerManager = require("../../src/helpers/whisperServer");
-const { INFERENCE_DECODER_FIELDS } = require("../../src/helpers/whisperServer");
+const { INFERENCE_DECODER_FIELDS } = WhisperServerManager;
function startCapturingServer() {
let captured = null;