fix(browser): route test support through sdk testing

This commit is contained in:
Peter Steinberger 2026-04-03 16:07:54 +01:00
parent 7e2b26f77b
commit 2a1a7ea6f9
2 changed files with 6 additions and 7 deletions

View File

@ -1,16 +1,14 @@
export {
createCliRuntimeCapture,
createTempHomeEnv,
expectGeneratedTokenPersistedToGatewayAuth,
type CliMockOutputRuntime,
type CliRuntimeCapture,
} from "../../src/cli/test-runtime-capture.js";
export { isLiveTestEnabled } from "../../src/agents/live-test-helpers.js";
export {
createTempHomeEnv,
type FetchMock,
type OpenClawConfig,
type TempHomeEnv,
withEnv,
withEnvAsync,
withFetchPreconnect,
} from "openclaw/plugin-sdk/browser-support";
export { expectGeneratedTokenPersistedToGatewayAuth } from "../../src/test-utils/auth-token-assertions.js";
isLiveTestEnabled,
type OpenClawConfig,
} from "openclaw/plugin-sdk/testing";

View File

@ -61,6 +61,7 @@ export {
loadBundledPluginTestApiSync,
resolveRelativeBundledPluginPublicModuleId,
} from "../test-utils/bundled-plugin-public-surface.js";
export { expectGeneratedTokenPersistedToGatewayAuth } from "../test-utils/auth-token-assertions.js";
export { captureEnv, withEnv, withEnvAsync } from "../test-utils/env.js";
export { withFetchPreconnect, type FetchMock } from "../test-utils/fetch-mock.js";
export { createTempHomeEnv, type TempHomeEnv } from "../test-utils/temp-home.js";