mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-06 06:20:43 +00:00
test: isolate BlueBubbles shard under parallelism
This commit is contained in:
@@ -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,
|
||||
|
||||
@@ -17,6 +17,7 @@ export function createExtensionBlueBubblesVitestConfig(
|
||||
{
|
||||
dir: "extensions",
|
||||
env,
|
||||
isolate: true,
|
||||
name: "extension-bluebubbles",
|
||||
passWithNoTests: true,
|
||||
setupFiles: ["test/setup.extensions.ts"],
|
||||
|
||||
Reference in New Issue
Block a user