mirror of
https://github.com/openclaw/openclaw.git
synced 2026-04-09 08:11:09 +00:00
fix(ci): route extension test helpers through sdk seams
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
type PathEnvKey = "PATH" | "Path" | "PATHEXT" | "Pathext";
|
||||
|
||||
export { createWindowsCmdShimFixture } from "../../../src/test-helpers/windows-cmd-shim.js";
|
||||
export { createWindowsCmdShimFixture } from "openclaw/plugin-sdk/testing";
|
||||
|
||||
const PATH_ENV_KEYS = ["PATH", "Path", "PATHEXT", "Pathext"] as const;
|
||||
|
||||
|
||||
@@ -1 +1 @@
|
||||
export { installCommonResolveTargetErrorCases } from "../../src/test-helpers/resolve-target-error-cases.js";
|
||||
export { installCommonResolveTargetErrorCases } from "openclaw/plugin-sdk/testing";
|
||||
|
||||
@@ -1 +1 @@
|
||||
export { createWindowsCmdShimFixture } from "../../src/test-helpers/windows-cmd-shim.js";
|
||||
export { createWindowsCmdShimFixture } from "openclaw/plugin-sdk/testing";
|
||||
|
||||
@@ -1,11 +1,14 @@
|
||||
import { resolveDefaultModelForAgent } from "openclaw/plugin-sdk/agent-runtime";
|
||||
import type { OpenClawConfig } from "openclaw/plugin-sdk/config-runtime";
|
||||
import {
|
||||
createReplyDispatcher,
|
||||
resetInboundDedupe,
|
||||
type GetReplyOptions,
|
||||
type MsgContext,
|
||||
type ReplyPayload,
|
||||
} from "openclaw/plugin-sdk/reply-runtime";
|
||||
import type { MockFn } from "openclaw/plugin-sdk/testing";
|
||||
import { beforeEach, vi } from "vitest";
|
||||
import { resolveDefaultModelForAgent } from "../../../src/agents/model-selection.js";
|
||||
import { resetInboundDedupe } from "../../../src/auto-reply/reply/inbound-dedupe.js";
|
||||
import { createReplyDispatcher } from "../../../src/auto-reply/reply/reply-dispatcher.js";
|
||||
import type { MsgContext } from "../../../src/auto-reply/templating.js";
|
||||
import type { GetReplyOptions, ReplyPayload } from "../../../src/auto-reply/types.js";
|
||||
import type { TelegramBotDeps } from "./bot-deps.js";
|
||||
|
||||
type AnyMock = ReturnType<typeof vi.fn>;
|
||||
|
||||
Reference in New Issue
Block a user