refactor: rename to openclaw

This commit is contained in:
Peter Steinberger
2026-01-30 03:15:10 +01:00
parent 4583f88626
commit 9a7160786a
2357 changed files with 16688 additions and 16788 deletions

View File

@@ -1,6 +1,6 @@
import { describe, expect, it, vi } from "vitest";
import type { MoltbotConfig } from "../../config/config.js";
import type { OpenClawConfig } from "../../config/config.js";
import { handleWhatsAppAction } from "./whatsapp-actions.js";
const sendReactionWhatsApp = vi.fn(async () => undefined);
@@ -13,7 +13,7 @@ vi.mock("../../web/outbound.js", () => ({
const enabledConfig = {
channels: { whatsapp: { actions: { reactions: true } } },
} as MoltbotConfig;
} as OpenClawConfig;
describe("handleWhatsAppAction", () => {
it("adds reactions", async () => {
@@ -95,7 +95,7 @@ describe("handleWhatsAppAction", () => {
it("respects reaction gating", async () => {
const cfg = {
channels: { whatsapp: { actions: { reactions: false } } },
} as MoltbotConfig;
} as OpenClawConfig;
await expect(
handleWhatsAppAction(
{