From dbcdcc5d1930bff89a8d7200b46a9c63e084b88a Mon Sep 17 00:00:00 2001 From: Peter Steinberger Date: Mon, 16 Feb 2026 09:51:09 +0000 Subject: [PATCH] test: remove duplicate positive template-variable detection case --- src/auto-reply/reply/reply-utils.test.ts | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/auto-reply/reply/reply-utils.test.ts b/src/auto-reply/reply/reply-utils.test.ts index 4c5a2b8b6..3d00a1e36 100644 --- a/src/auto-reply/reply/reply-utils.test.ts +++ b/src/auto-reply/reply/reply-utils.test.ts @@ -806,12 +806,6 @@ describe("hasTemplateVariables", () => { expect(hasTemplateVariables("")).toBe(false); }); - it("returns true when template variables present", () => { - expect(hasTemplateVariables("[{model}]")).toBe(true); - expect(hasTemplateVariables("{provider}")).toBe(true); - expect(hasTemplateVariables("prefix {thinkingLevel} suffix")).toBe(true); - }); - it("handles consecutive calls correctly (regex lastIndex reset)", () => { // First call expect(hasTemplateVariables("[{model}]")).toBe(true);