tests pasing
This commit is contained in:
parent
4b65f39650
commit
e3b0e263fb
@ -73,6 +73,7 @@ describe('callOpenRouter', () => {
|
|||||||
vi.mocked(global.fetch).mockResolvedValue({
|
vi.mocked(global.fetch).mockResolvedValue({
|
||||||
ok: false,
|
ok: false,
|
||||||
status: 500,
|
status: 500,
|
||||||
|
text: async () => 'Internal Server Error',
|
||||||
} as Response);
|
} as Response);
|
||||||
|
|
||||||
const result = await callOpenRouter({
|
const result = await callOpenRouter({
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user