Skip to content

Commit ed05fb9

Browse files
committed
fix(evals): add realistic content to test file to prevent timeouts
1 parent a741185 commit ed05fb9

1 file changed

Lines changed: 9 additions & 1 deletion

File tree

evals/issue-fixer.eval.ts

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,15 @@ describe('Issue Fixer Workflow', () => {
5858
);
5959
rig.createFile(
6060
'test/UserProfile.test.js',
61-
'describe("UserProfile", () => {\n it("should load data", async () => {\n // Flaky network call\n });\n});\n',
61+
`describe("UserProfile", () => {
62+
it("should load data", async () => {
63+
// Flaky network call
64+
const response = await fetch('https://api.example.com/user');
65+
const data = await response.json();
66+
expect(data.name).toBe("John Doe");
67+
});
68+
});
69+
`,
6270
);
6371

6472
rig.createFile(

0 commit comments

Comments
 (0)