mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-06 22:11:36 +00:00
test: remove duplicate undefined template-variable guard case
This commit is contained in:
@@ -811,10 +811,6 @@ describe("extractShortModelName", () => {
|
|||||||
});
|
});
|
||||||
|
|
||||||
describe("hasTemplateVariables", () => {
|
describe("hasTemplateVariables", () => {
|
||||||
it("returns false for undefined", () => {
|
|
||||||
expect(hasTemplateVariables(undefined)).toBe(false);
|
|
||||||
});
|
|
||||||
|
|
||||||
it("returns false for empty string", () => {
|
it("returns false for empty string", () => {
|
||||||
expect(hasTemplateVariables("")).toBe(false);
|
expect(hasTemplateVariables("")).toBe(false);
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user