mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-06 23:11:37 +00:00
test: remove duplicate existing-id all-mode planner case
This commit is contained in:
@@ -600,16 +600,6 @@ describe("createReplyReferencePlanner", () => {
|
|||||||
expect(planner.use()).toBeUndefined();
|
expect(planner.use()).toBeUndefined();
|
||||||
});
|
});
|
||||||
|
|
||||||
it("uses existingId on every call when mode is all", () => {
|
|
||||||
const planner = createReplyReferencePlanner({
|
|
||||||
replyToMode: "all",
|
|
||||||
existingId: "thread-1",
|
|
||||||
startId: "parent",
|
|
||||||
});
|
|
||||||
expect(planner.use()).toBe("thread-1");
|
|
||||||
expect(planner.use()).toBe("thread-1");
|
|
||||||
});
|
|
||||||
|
|
||||||
it("honors allowReference=false", () => {
|
it("honors allowReference=false", () => {
|
||||||
const planner = createReplyReferencePlanner({
|
const planner = createReplyReferencePlanner({
|
||||||
replyToMode: "all",
|
replyToMode: "all",
|
||||||
|
|||||||
Reference in New Issue
Block a user