test: isolate BlueBubbles shard under parallelism

This commit is contained in:
Peter Steinberger
2026-04-20 16:06:20 +01:00
parent 5c7667c15c
commit 17bac9e22d
2 changed files with 8 additions and 0 deletions

View File

@@ -3,6 +3,13 @@ import os from "node:os";
import path from "node:path";
import type { OpenClawConfig } from "openclaw/plugin-sdk/config-runtime";
import { afterEach, describe, expect, it, vi } from "vitest";
vi.mock("node-edge-tts", () => ({
EdgeTTS: class {
async ttsPromise(): Promise<void> {}
},
}));
import {
buildMicrosoftSpeechProvider,
isCjkDominant,

View File

@@ -17,6 +17,7 @@ export function createExtensionBlueBubblesVitestConfig(
{
dir: "extensions",
env,
isolate: true,
name: "extension-bluebubbles",
passWithNoTests: true,
setupFiles: ["test/setup.extensions.ts"],