Skip to content

Commit

Permalink
Use assertions in tests
Browse files Browse the repository at this point in the history
  • Loading branch information
jacoblee93 committed Sep 24, 2024
1 parent 0e96b1e commit ab4accb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion js/src/utils/prompts/tests/anthropic.int.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,5 +21,5 @@ test("basic traceable implementation", async () => {
stream: false,
});

console.log(anthropicResponse);
expect(anthropicResponse.content).toBeDefined();
});
2 changes: 1 addition & 1 deletion js/src/utils/prompts/tests/openai.int.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,5 +18,5 @@ test("basic traceable implementation", async () => {
messages,
});

console.log(openAIResponse);
expect(openAIResponse.choices.length).toBeGreaterThan(0);
});

0 comments on commit ab4accb

Please sign in to comment.