mirror of
https://github.com/moltbot/moltbot.git
synced 2026-05-07 07:58:36 +00:00
test: align sdk helper imports
This commit is contained in:
@@ -140,17 +140,17 @@ const RETIRED_EXTENSION_TEST_HELPER_BRIDGE_FILES = [
|
||||
"test/helpers/media-generation/dashscope-video-provider.ts",
|
||||
"test/helpers/media-generation/provider-capability-assertions.ts",
|
||||
"test/helpers/media-generation/provider-http-mocks.ts",
|
||||
"test/helpers/bundled-channel-entry.ts",
|
||||
"test/helpers/bundled-plugin-paths.ts",
|
||||
"test/helpers/envelope-timestamp.ts",
|
||||
"test/helpers/http-test-server.ts",
|
||||
"test/helpers/import-fresh.ts",
|
||||
"test/helpers/mock-incoming-request.ts",
|
||||
"test/helpers/node-builtin-mocks.ts",
|
||||
"test/helpers/pairing-reply.ts",
|
||||
"test/helpers/provider-replay-policy.ts",
|
||||
"test/helpers/stt-live-audio.ts",
|
||||
"test/helpers/temp-home.ts",
|
||||
"src/plugin-sdk/test-helpers/bundled-channel-entry.ts",
|
||||
"src/plugin-sdk/test-helpers/bundled-plugin-paths.ts",
|
||||
"src/plugin-sdk/test-helpers/envelope-timestamp.ts",
|
||||
"src/plugin-sdk/test-helpers/http-test-server.ts",
|
||||
"src/plugin-sdk/test-helpers/import-fresh.ts",
|
||||
"src/plugin-sdk/test-helpers/mock-incoming-request.ts",
|
||||
"src/plugin-sdk/test-helpers/node-builtin-mocks.ts",
|
||||
"src/plugin-sdk/test-helpers/pairing-reply.ts",
|
||||
"src/plugin-sdk/test-helpers/provider-replay-policy.ts",
|
||||
"src/plugin-sdk/test-helpers/stt-live-audio.ts",
|
||||
"src/plugin-sdk/test-helpers/temp-home.ts",
|
||||
"test/helpers/agents/auth-profile-runtime-contract.ts",
|
||||
"test/helpers/agents/delivery-no-reply-runtime-contract.ts",
|
||||
"test/helpers/agents/openclaw-owned-tool-runtime-contract.ts",
|
||||
|
||||
@@ -2,7 +2,7 @@ import { spawnSync } from "node:child_process";
|
||||
import fs from "node:fs/promises";
|
||||
import path from "node:path";
|
||||
import { describe, expect, it } from "vitest";
|
||||
import { withTempHome } from "./helpers/temp-home.ts";
|
||||
import { withTempHome } from "openclaw/plugin-sdk/test-env";
|
||||
|
||||
describe("cli json stdout contract", () => {
|
||||
it("keeps `update status --json` stdout parseable even with legacy doctor preflight inputs", async () => {
|
||||
|
||||
@@ -7,6 +7,7 @@ import {
|
||||
OFFICIAL_CHANNEL_CATALOG_RELATIVE_PATH,
|
||||
writeOfficialChannelCatalog,
|
||||
} from "../scripts/write-official-channel-catalog.mjs";
|
||||
import { bundledPluginRoot } from "openclaw/plugin-sdk/test-fixtures";
|
||||
import { describePluginInstallSource } from "../src/plugins/install-source-info.js";
|
||||
import { cleanupTempDirs, makeTempRepoRoot, writeJsonFile } from "./helpers/temp-repo.js";
|
||||
|
||||
|
||||
Reference in New Issue
Block a user