Skip to content

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

test(enterprise): align routing coverage after main merge

Gabriel Stein0c9f46c1bd99
diff --git a/test/helpers/noteFormattingOverrides.test.js b/test/helpers/noteFormattingOverrides.test.js
index 2118b0337..88e78686a 100644
--- a/test/helpers/noteFormattingOverrides.test.js
+++ b/test/helpers/noteFormattingOverrides.test.js
@@ -115,6 +115,7 @@ test("enterprise mode pins its provider instead of inheriting cleanup routing",
false
);
assert.deepEqual(overrides, {
+ inferenceScope: "noteFormatting",
provider: "bedrock",
baseUrl: undefined,
customApiKey: undefined,
diff --git a/test/services/managedEnterpriseRouting.test.js b/test/services/managedEnterpriseRouting.test.js
index 91cef7970..bd1d0931b 100644
--- a/test/services/managedEnterpriseRouting.test.js
+++ b/test/services/managedEnterpriseRouting.test.js
@@ -133,7 +133,10 @@ test("managed enterprise access outranks a leftover self-hosted route", async (t
useEnterpriseIdentityStore.setState({ config: null, status: "idle" });
setPolicy(enterpriseOnly);
await assert.rejects(
- reasoningService.processText("hi", "", null, { inferenceScope: "dictationCleanup" }),
+ reasoningService.processText("hi", "", null, {
+ inferenceScope: "dictationCleanup",
+ lanUrl: "http://192.0.2.1:8080",
+ }),
{ message: REASONING_RESTRICTED }
);
});