Skip to content

Commit 1e835b4

Browse files
committed
test(appkit): use server/agents layout in eval config discovery fixtures
The discoverEvalConfigs test still built fixtures under config/agents/ from the pre-rename stack; the runner now discovers per-agent configs under server/agents/ (the folder-per-agent layout). Align the fixtures so the test matches the runner. Signed-off-by: MarioCadenas <MarioCadenas@users.noreply.github.com>
1 parent e74f8e3 commit 1e835b4

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

packages/appkit/src/evals/tests/discover.test.ts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -45,19 +45,19 @@ describe("discoverEvalFiles", () => {
4545

4646
describe("discoverEvalConfigs", () => {
4747
test("finds each agent's evals.config.ts, omits agents without one", () => {
48-
write("config/agents/support/evals/basic.eval.ts");
49-
write("config/agents/support/evals/evals.config.ts");
50-
write("config/agents/analyst/evals/sql.eval.ts");
48+
write("server/agents/support/evals/basic.eval.ts");
49+
write("server/agents/support/evals/evals.config.ts");
50+
write("server/agents/analyst/evals/sql.eval.ts");
5151

5252
const found = discoverEvalConfigs(root);
5353

5454
expect(found.map((c) => c.agent)).toEqual(["support"]);
5555
expect(found[0].file).toBe(
56-
path.join(root, "config/agents/support/evals/evals.config.ts"),
56+
path.join(root, "server/agents/support/evals/evals.config.ts"),
5757
);
5858
});
5959

60-
test("returns empty when there is no config/agents dir", () => {
60+
test("returns empty when there is no server/agents dir", () => {
6161
expect(discoverEvalConfigs(root)).toEqual([]);
6262
});
6363
});

0 commit comments

Comments
 (0)