mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-08 22:38:26 +00:00
perf(test): reduce gateway reload waits and trim duplicate invoke coverage
This commit is contained in:
@@ -102,7 +102,7 @@ describe("RawBody directive parsing", () => {
|
||||
vi.clearAllMocks();
|
||||
});
|
||||
|
||||
it("detects command directives from RawBody/CommandBody in wrapped group messages", async () => {
|
||||
it("handles directives, history, and non-default agent session files", async () => {
|
||||
await withTempHome(async (home) => {
|
||||
const assertCommandReply = async (input: {
|
||||
message: ReplyMessage;
|
||||
@@ -161,11 +161,7 @@ describe("RawBody directive parsing", () => {
|
||||
},
|
||||
expectedIncludes: ["Verbose logging enabled."],
|
||||
});
|
||||
});
|
||||
});
|
||||
|
||||
it("preserves history and reuses non-default agent session files", async () => {
|
||||
await withTempHome(async (home) => {
|
||||
vi.mocked(runEmbeddedPiAgent).mockResolvedValue({
|
||||
payloads: [{ text: "ok" }],
|
||||
meta: {
|
||||
|
||||
Reference in New Issue
Block a user