Skip to content

Commit

Permalink
Update integration test warning for missing API key in Claude model t…
Browse files Browse the repository at this point in the history
…ests
  • Loading branch information
Braffolk committed Jan 22, 2025
1 parent 869e37c commit ae55201
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/__tests__/models/claude.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ describe('AnthropicModel', () => {
const MOCK_API_KEY = 'dummy-key';
const REAL_API_KEY = process.env.ANTHROPIC_API_KEY || '';
if (!REAL_API_KEY) {
throw new Error('API key is required for integration tests');
console.warn('Skipping integration tests. Set ANTHROPIC_API_KEY to run integration tests');
}
let model: AnthropicModel;

Expand Down

0 comments on commit ae55201

Please sign in to comment.