test: speed up tts contract shard · openclaw/openclaw@baeba45
steipete
·
2026-04-29
·
via Recent Commits to openclaw:main
| Original file line number | Diff line number | Diff line change |
|---|
|
1 | 1 | import type { AssistantMessage } from "@mariozechner/pi-ai"; |
2 | 2 | import type { OpenClawConfig } from "openclaw/plugin-sdk/config-types"; |
3 | | -import { resolveWorkspacePackagePublicModuleUrl } from "openclaw/plugin-sdk/plugin-test-contracts"; |
4 | 3 | import { |
5 | 4 | createEmptyPluginRegistry, |
6 | 5 | pluginRegistrationContractRegistry, |
@@ -9,6 +8,7 @@ import {
|
9 | 8 | import type { ResolvedTtsConfig, SpeechProviderPlugin } from "openclaw/plugin-sdk/speech-core"; |
10 | 9 | import { withEnv, withEnvAsync } from "openclaw/plugin-sdk/test-env"; |
11 | 10 | import { beforeEach, describe, expect, it, vi } from "vitest"; |
| 11 | +import { resolveWorkspacePackagePublicModuleUrl } from "../../plugin-sdk/test-helpers/public-surface-loader.js"; |
12 | 12 | |
13 | 13 | type TtsRuntimeModule = typeof import("openclaw/plugin-sdk/tts-runtime"); |
14 | 14 | type TtsCoreModule = typeof import("openclaw/plugin-sdk/speech-core"); |
|
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。