Skip to content

Commit 2e6eb4e

Browse files
committed
ci: add ts expect error
1 parent 95f2a95 commit 2e6eb4e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tests/create-chat-completions.test.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ const fetchMock = mock(
2020
}
2121
},
2222
)
23+
// @ts-expect-error - Mock fetch doesn't implement all fetch properties
2324
;(globalThis as unknown as { fetch: typeof fetch }).fetch = fetchMock
2425

2526
test("sets X-Initiator to agent if tool/assistant present", async () => {

0 commit comments

Comments
 (0)