mirror of
https://github.com/moltbot/moltbot.git
synced 2026-04-21 13:44:03 +00:00
test: fix latest fast-lane boundaries
This commit is contained in:
@@ -16,6 +16,7 @@ describe("live vitest config", () => {
|
||||
it("includes live test globs and runtime setup", () => {
|
||||
expect(liveConfig.test?.include).toEqual([
|
||||
"src/**/*.live.test.ts",
|
||||
"test/**/*.live.test.ts",
|
||||
BUNDLED_PLUGIN_LIVE_TEST_GLOB,
|
||||
]);
|
||||
expect(liveConfig.test?.setupFiles).toContain("test/setup-openclaw-runtime.ts");
|
||||
|
||||
@@ -60,7 +60,7 @@ const RUNTIME_API_EXPORT_GUARDS: Record<string, readonly string[]> = {
|
||||
'export { sendMessageIMessage } from "./src/send.js";',
|
||||
'export { setIMessageRuntime } from "./src/runtime.js";',
|
||||
'export { chunkTextForOutbound } from "./src/channel-api.js";',
|
||||
'export type { IMessageAccountConfig } from "./src/account-types.js";',
|
||||
'export type IMessageAccountConfig = Omit< NonNullable<NonNullable<RuntimeApiOpenClawConfig["channels"]>["imessage"]>, "accounts" | "defaultAccount" >;',
|
||||
],
|
||||
[bundledPluginFile("googlechat", "runtime-api.ts")]: [
|
||||
'export { DEFAULT_ACCOUNT_ID } from "openclaw/plugin-sdk/account-id";',
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
export { resolveWhatsAppRuntimeGroupPolicy } from "../../../extensions/whatsapp/src/runtime-group-policy.js";
|
||||
export {
|
||||
evaluateZaloGroupAccess,
|
||||
resolveZaloRuntimeGroupPolicy,
|
||||
} from "../../../extensions/zalo/src/group-access.js";
|
||||
import { resolveOpenProviderRuntimeGroupPolicy } from "../../../src/config/runtime-group-policy.js";
|
||||
|
||||
const resolveWhatsAppRuntimeGroupPolicy = resolveOpenProviderRuntimeGroupPolicy;
|
||||
const resolveZaloRuntimeGroupPolicy = resolveOpenProviderRuntimeGroupPolicy;
|
||||
|
||||
export { resolveWhatsAppRuntimeGroupPolicy, resolveZaloRuntimeGroupPolicy };
|
||||
|
||||
Reference in New Issue
Block a user