chore: Fix types in tests 42/N.

This commit is contained in:
cpojer
2026-02-17 15:48:29 +09:00
parent 6264c5e842
commit 7d2ef131c1
24 changed files with 133 additions and 39 deletions

View File

@@ -2,6 +2,7 @@ import path from "node:path";
import { describe, expect, it, vi } from "vitest";
import { withTempHome as withTempHomeBase } from "../../test/helpers/temp-home.js";
import { runEmbeddedPiAgent } from "../agents/pi-embedded.js";
import type { OpenClawConfig } from "../config/config.js";
import { getReplyFromConfig } from "./reply.js";
vi.mock("../agents/pi-embedded.js", () => ({
@@ -48,7 +49,7 @@ function makeCfg(home: string) {
},
channels: { whatsapp: { allowFrom: ["*"] } },
session: { store: path.join(home, "sessions.json") },
};
} as unknown as OpenClawConfig;
}
describe("getReplyFromConfig media note plumbing", () => {