mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-08 20:28:29 +00:00
chore: Fix types in tests 42/N.
This commit is contained in:
@@ -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", () => {
|
||||
|
||||
Reference in New Issue
Block a user