test: add provider HTTP live coverage

This commit is contained in:
Peter Steinberger
2026-04-24 20:01:43 +01:00
parent 2c516fe516
commit def392ad7d
4 changed files with 81 additions and 0 deletions

View File

@@ -0,0 +1,14 @@
import { describe, expect, it } from "vitest";
import { isLiveTestEnabled } from "../../src/agents/live-test-helpers.js";
import { listMicrosoftVoices } from "./speech-provider.js";
const describeLive = isLiveTestEnabled() ? describe : describe.skip;
describeLive("microsoft plugin live", () => {
it("lists Edge speech voices", async () => {
const voices = await listMicrosoftVoices();
expect(voices.length).toBeGreaterThan(100);
expect(voices.some((voice) => voice.id === "en-US-MichelleNeural")).toBe(true);
}, 60_000);
});