mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-07 03:21:38 +00:00
test: remove duplicate off-mode existing-id planner case
This commit is contained in:
@@ -591,16 +591,6 @@ describe("createReplyReferencePlanner", () => {
|
|||||||
expect(planner.use()).toBe("parent");
|
expect(planner.use()).toBe("parent");
|
||||||
});
|
});
|
||||||
|
|
||||||
it("respects replyToMode off even with existingId", () => {
|
|
||||||
const planner = createReplyReferencePlanner({
|
|
||||||
replyToMode: "off",
|
|
||||||
existingId: "thread-1",
|
|
||||||
startId: "parent",
|
|
||||||
});
|
|
||||||
expect(planner.use()).toBeUndefined();
|
|
||||||
expect(planner.hasReplied()).toBe(false);
|
|
||||||
});
|
|
||||||
|
|
||||||
it("uses existingId once when mode is first", () => {
|
it("uses existingId once when mode is first", () => {
|
||||||
const planner = createReplyReferencePlanner({
|
const planner = createReplyReferencePlanner({
|
||||||
replyToMode: "first",
|
replyToMode: "first",
|
||||||
|
|||||||
Reference in New Issue
Block a user