fix: config yaml test copy
This commit is contained in:
parent
c34e56e727
commit
c97096ef07
1 changed files with 4 additions and 4 deletions
|
|
@ -70,13 +70,13 @@ describe("parseAgentFile", () => {
|
|||
|
||||
test("throws error when name field is missing", () => {
|
||||
expect(() => parseAgentFile(invalidExample)).toThrow(
|
||||
"Agent File file must contain YAML frontmatter with a 'name' field",
|
||||
"Agent file must contain YAML frontmatter with a 'name' field",
|
||||
);
|
||||
});
|
||||
|
||||
test("throws error when no frontmatter is present", () => {
|
||||
expect(() => parseAgentFile(noFrontmatterExample)).toThrow(
|
||||
"Agent File file must contain YAML frontmatter with a 'name' field",
|
||||
"Agent file must contain YAML frontmatter with a 'name' field",
|
||||
);
|
||||
});
|
||||
|
||||
|
|
@ -303,7 +303,7 @@ Prompt
|
|||
`.trim();
|
||||
|
||||
expect(() => parseAgentFile(emptyNameExample)).toThrow(
|
||||
"Agent File file must contain YAML frontmatter with a 'name' field",
|
||||
"Agent file must contain YAML frontmatter with a 'name' field",
|
||||
);
|
||||
});
|
||||
|
||||
|
|
@ -316,7 +316,7 @@ Prompt
|
|||
`.trim();
|
||||
|
||||
expect(() => parseAgentFile(nullNameExample)).toThrow(
|
||||
"Agent File file must contain YAML frontmatter with a 'name' field",
|
||||
"Agent file must contain YAML frontmatter with a 'name' field",
|
||||
);
|
||||
});
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue