mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-10 17:24:58 +00:00
test: remove duplicate static template-variable false case
This commit is contained in:
@@ -811,10 +811,6 @@ describe("hasTemplateVariables", () => {
|
|||||||
expect(hasTemplateVariables("")).toBe(false);
|
expect(hasTemplateVariables("")).toBe(false);
|
||||||
});
|
});
|
||||||
|
|
||||||
it("returns false for static prefix", () => {
|
|
||||||
expect(hasTemplateVariables("[Claude]")).toBe(false);
|
|
||||||
});
|
|
||||||
|
|
||||||
it("returns true when template variables present", () => {
|
it("returns true when template variables present", () => {
|
||||||
expect(hasTemplateVariables("[{model}]")).toBe(true);
|
expect(hasTemplateVariables("[{model}]")).toBe(true);
|
||||||
expect(hasTemplateVariables("{provider}")).toBe(true);
|
expect(hasTemplateVariables("{provider}")).toBe(true);
|
||||||
|
|||||||
Reference in New Issue
Block a user