mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-06 15:50:46 +00:00
refactor: route plugin test helpers through sdk
This commit is contained in:
@@ -1 +1 @@
|
||||
export { withEnv, withEnvAsync } from "../../../src/test-utils/env.js";
|
||||
export { withEnv, withEnvAsync } from "openclaw/plugin-sdk/testing";
|
||||
|
||||
@@ -1 +1 @@
|
||||
export { withFetchPreconnect, type FetchMock } from "../../../src/test-utils/fetch-mock.js";
|
||||
export { withFetchPreconnect, type FetchMock } from "openclaw/plugin-sdk/testing";
|
||||
|
||||
@@ -1 +1 @@
|
||||
export { createRequestCaptureJsonFetch } from "../../../src/media-understanding/audio.test-helpers.js";
|
||||
export { createRequestCaptureJsonFetch } from "openclaw/plugin-sdk/testing";
|
||||
|
||||
@@ -1 +1 @@
|
||||
export { createMockServerResponse } from "../../../src/test-utils/mock-http-response.js";
|
||||
export { createMockServerResponse } from "openclaw/plugin-sdk/testing";
|
||||
|
||||
@@ -1 +1 @@
|
||||
export { registerSingleProviderPlugin } from "../../../src/test-utils/plugin-registration.js";
|
||||
export { registerSingleProviderPlugin } from "openclaw/plugin-sdk/testing";
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
export { createEmptyPluginRegistry } from "../../../src/plugins/registry.js";
|
||||
export { setActivePluginRegistry } from "../../../src/plugins/runtime.js";
|
||||
export { createTestRegistry } from "../../../src/test-utils/channel-plugins.js";
|
||||
export {
|
||||
createEmptyPluginRegistry,
|
||||
createTestRegistry,
|
||||
setActivePluginRegistry,
|
||||
} from "openclaw/plugin-sdk/testing";
|
||||
|
||||
@@ -1 +1 @@
|
||||
export { createRuntimeTaskFlow } from "../../../src/plugins/runtime/runtime-taskflow.js";
|
||||
export { createRuntimeTaskFlow } from "openclaw/plugin-sdk/testing";
|
||||
|
||||
@@ -1 +1 @@
|
||||
export { withTempDir } from "../../../src/test-utils/temp-dir.js";
|
||||
export { withTempDir } from "openclaw/plugin-sdk/testing";
|
||||
|
||||
@@ -1 +1 @@
|
||||
export { createTempHomeEnv, type TempHomeEnv } from "../../../src/test-utils/temp-home.js";
|
||||
export { createTempHomeEnv, type TempHomeEnv } from "openclaw/plugin-sdk/testing";
|
||||
|
||||
@@ -1 +1 @@
|
||||
export { typedCases } from "../../../src/test-utils/typed-cases.js";
|
||||
export { typedCases } from "openclaw/plugin-sdk/testing";
|
||||
|
||||
Reference in New Issue
Block a user