mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-06 17:20:45 +00:00
test: add provider HTTP live coverage
This commit is contained in:
14
extensions/microsoft/microsoft.live.test.ts
Normal file
14
extensions/microsoft/microsoft.live.test.ts
Normal 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);
|
||||
});
|
||||
Reference in New Issue
Block a user