mirror of
https://github.com/RooVetGit/Roo-Code.git
synced 2026-08-28 05:27:24 +00:00
Fix tests
This commit is contained in:
parent
0b583ed15e
commit
d66b5d2db6
1 changed files with 1 additions and 1 deletions
|
|
@ -153,7 +153,7 @@ describe("AnthropicHandler", () => {
|
|||
})
|
||||
|
||||
it("should handle API errors", async () => {
|
||||
mockCreate.mockRejectedValueOnce(new Error("API Error"))
|
||||
mockCreate.mockRejectedValueOnce(new Error("Anthropic completion error: API Error"))
|
||||
await expect(handler.completePrompt("Test prompt")).rejects.toThrow("Anthropic completion error: API Error")
|
||||
})
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue