test: route extension tests through sdk subpaths

This commit is contained in:
Peter Steinberger
2026-04-27 21:58:08 +01:00
parent 662de55e07
commit 74e62c32c3
98 changed files with 202 additions and 213 deletions

View File

@@ -1,5 +1,5 @@
import { isLiveTestEnabled } from "openclaw/plugin-sdk/testing";
import { describe, expect, it } from "vitest";
import { isLiveTestEnabled } from "../../src/agents/live-test-helpers.js";
import {
runRealtimeSttLiveTest,
synthesizeElevenLabsLiveSpeech,

View File

@@ -1,9 +1,9 @@
import { describe, expect, it } from "vitest";
import {
createAuthCaptureJsonFetch,
createRequestCaptureJsonFetch,
installPinnedHostnameTestHooks,
} from "../../src/media-understanding/audio.test-helpers.ts";
} from "openclaw/plugin-sdk/testing";
import { describe, expect, it } from "vitest";
import { transcribeDeepgramAudio } from "./audio.js";
installPinnedHostnameTestHooks();

View File

@@ -1,5 +1,5 @@
import type { OpenClawConfig } from "openclaw/plugin-sdk/config-types";
import { afterEach, describe, expect, it, vi } from "vitest";
import type { OpenClawConfig } from "../../src/config/types.openclaw.js";
import {
__testing,
buildDeepgramRealtimeTranscriptionProvider,