Skip to content

Commit

Permalink
Tone down TODO
Browse files Browse the repository at this point in the history
  • Loading branch information
jacoblee93 committed Dec 11, 2024
1 parent b3b0431 commit 697bf39
Showing 1 changed file with 4 additions and 8 deletions.
12 changes: 4 additions & 8 deletions js/src/tests/evaluate_attachments.int.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -93,8 +93,7 @@ test("evaluate can handle examples with attachments", async () => {
expect(evalRes.results).toHaveLength(2);

for (const result of evalRes.results) {
// NOTE: THIS DOES NOT WORK YET BECAUSE THE ATTACHMENTS ARE NOT TRACED CORRECTLY
// THIS SHOULD BE FIXED ASAP
// TODO: Uncomment when attachments are traced correctly
// expect(result.run.attachments).toBeDefined();
expect(result.run).toBeDefined();
expect(result.example).toBeDefined();
Expand Down Expand Up @@ -172,8 +171,7 @@ test("evaluate with attachments not in target function", async () => {
expect(evalRes.results).toHaveLength(2);

for (const result of evalRes.results) {
// NOTE: THIS DOES NOT WORK YET BECAUSE THE ATTACHMENTS ARE NOT TRACED CORRECTLY
// THIS SHOULD BE FIXED ASAP
// TODO: Uncomment when attachments are traced correctly
// expect(result.run.attachments).toBeDefined();
expect(result.run).toBeDefined();
expect(result.example).toBeDefined();
Expand Down Expand Up @@ -297,8 +295,7 @@ test("multiple evaluators with attachments", async () => {
expect(evalRes.results).toHaveLength(2);

for (const result of evalRes.results) {
// NOTE: THIS DOES NOT WORK YET BECAUSE THE ATTACHMENTS ARE NOT TRACED CORRECTLY
// THIS SHOULD BE FIXED ASAP
// TODO: Uncomment when attachments are traced correctly
// expect(result.run.attachments).toBeDefined();
expect(result.run).toBeDefined();
expect(result.example).toBeDefined();
Expand Down Expand Up @@ -398,8 +395,7 @@ test("evaluate with attachments runnable target function", async () => {
expect(evalRes.results).toHaveLength(2);

for (const result of evalRes.results) {
// NOTE: THIS DOES NOT WORK YET BECAUSE THE ATTACHMENTS ARE NOT TRACED CORRECTLY
// THIS SHOULD BE FIXED ASAP
// TODO: Uncomment when attachments are traced correctly
// expect(result.run.attachments).toBeDefined();
expect(result.run).toBeDefined();
expect(result.example).toBeDefined();
Expand Down

0 comments on commit 697bf39

Please sign in to comment.