Skip to content

Commit 0abe75b

Browse files
committed
test(network): honor stream cancellation contract
1 parent fadab17 commit 0abe75b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎src/agents/tools/web-fetch.ssrf.test.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ function redirectResponse(location: string): Response {
1616
ok: false,
1717
status: 302,
1818
headers: makeFetchHeaders({ location }),
19-
body: { cancel: vi.fn() },
19+
body: { cancel: vi.fn(async () => undefined) },
2020
} as unknown as Response;
2121
}
2222

0 commit comments

Comments
 (0)