Skip to content
This repository has been archived by the owner on Apr 18, 2024. It is now read-only.

Commit

Permalink
fix error
Browse files Browse the repository at this point in the history
  • Loading branch information
patcher9 committed Mar 24, 2024
1 parent 3ca9733 commit f66f613
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions tests/anthropic.test.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,9 @@ describe('Anthropic Test', () => {
});
expect(message.type).to.equal('message');
} catch (error) {
console.log(error);
if (error.type === 'rate_limit_error') {
console.error(`Daily Rate limit Reached`);
}
}
}).timeout(30000);

Expand All @@ -40,7 +42,9 @@ describe('Anthropic Test', () => {
}
}
} catch (error) {
console.log(error);
if (error.type === 'rate_limit_error') {
console.error(`Daily Rate limit Reached`);
}
}
}).timeout(30000);
});

0 comments on commit f66f613

Please sign in to comment.