mirror of
https://github.com/moltbot/moltbot.git
synced 2026-03-08 06:54:24 +00:00
test: skip CLI auto-detect e2e tests on Windows (#23626)
This commit is contained in:
@@ -73,7 +73,7 @@ describe("media understanding auto-detect (e2e)", () => {
|
||||
tempPaths = [];
|
||||
});
|
||||
|
||||
it("uses sherpa-onnx-offline when available", async () => {
|
||||
it.skipIf(process.platform === "win32")("uses sherpa-onnx-offline when available", async () => {
|
||||
await withEnvSnapshot(async () => {
|
||||
const binDir = await createTrackedTempDir(tempPaths, "openclaw-bin-sherpa-");
|
||||
const modelDir = await createTrackedTempDir(tempPaths, "openclaw-sherpa-model-");
|
||||
@@ -107,7 +107,7 @@ describe("media understanding auto-detect (e2e)", () => {
|
||||
});
|
||||
});
|
||||
|
||||
it("uses whisper-cli when sherpa is missing", async () => {
|
||||
it.skipIf(process.platform === "win32")("uses whisper-cli when sherpa is missing", async () => {
|
||||
await withEnvSnapshot(async () => {
|
||||
const binDir = await createTrackedTempDir(tempPaths, "openclaw-bin-whispercpp-");
|
||||
const modelDir = await createTrackedTempDir(tempPaths, "openclaw-whispercpp-model-");
|
||||
@@ -146,7 +146,7 @@ describe("media understanding auto-detect (e2e)", () => {
|
||||
});
|
||||
});
|
||||
|
||||
it("uses gemini CLI for images when available", async () => {
|
||||
it.skipIf(process.platform === "win32")("uses gemini CLI for images when available", async () => {
|
||||
await withEnvSnapshot(async () => {
|
||||
const binDir = await createTrackedTempDir(tempPaths, "openclaw-bin-gemini-");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user