mirror of
https://github.com/openclaw/openclaw.git
synced 2026-04-20 05:31:30 +00:00
fix: repair ci contract and whatsapp test stubs
This commit is contained in:
@@ -1 +1,4 @@
|
||||
// iMessage does not expose secret-contract surfaces.
|
||||
export const secretTargetRegistryEntries: readonly [] = [];
|
||||
|
||||
export function collectRuntimeConfigAssignments(): void {}
|
||||
|
||||
@@ -1 +1,4 @@
|
||||
// WhatsApp does not expose secret-contract surfaces.
|
||||
export const secretTargetRegistryEntries: readonly [] = [];
|
||||
|
||||
export function collectRuntimeConfigAssignments(): void {}
|
||||
|
||||
@@ -392,6 +392,7 @@ vi.mock("./auto-reply/monitor/runtime-api.js", () => ({
|
||||
|
||||
vi.mock("./auto-reply/monitor/group-gating.runtime.js", () => ({
|
||||
hasControlCommand: (body: string) => body.trim().startsWith("/"),
|
||||
implicitMentionKindWhen: (kind: string, enabled: boolean) => (enabled ? [kind] : []),
|
||||
normalizeE164: (value: string) => {
|
||||
const digits = String(value).replace(/\D+/g, "");
|
||||
return digits ? `+${digits}` : null;
|
||||
|
||||
@@ -7,6 +7,7 @@ const SRC_ROOT = resolve(dirname(fileURLToPath(import.meta.url)), "../..");
|
||||
const REPO_ROOT = resolve(SRC_ROOT, "..");
|
||||
|
||||
const ALLOWED_BUNDLED_CAPABILITY_METADATA_CONSUMERS = new Set([
|
||||
"src/media-generation/provider-capabilities.contract.test.ts",
|
||||
"src/plugins/bundled-capability-metadata.test.ts",
|
||||
"src/plugins/contracts/boundary-invariants.test.ts",
|
||||
]);
|
||||
|
||||
Reference in New Issue
Block a user