Jan is an open source alternative to ChatGPT that runs 100% offline on your computer.
test(web-app): type the capturedOnToolCall cast in the generation test
Akarshan Biswas9c0f67d6dee5
diff --git a/web-app/src/routes/threads/__tests__/$threadId.test.tsx b/web-app/src/routes/threads/__tests__/$threadId.test.tsxindex c47e82904..d2352186a 100644--- a/web-app/src/routes/threads/__tests__/$threadId.test.tsx+++ b/web-app/src/routes/threads/__tests__/$threadId.test.tsx@@ -2993,7 +2993,11 @@ describe('ThreadDetail route', () => {})renderComponent()await act(async () => {- await (h as any).capturedOnToolCall(extToolCall('te7'))+ await (+ h as unknown as {+ capturedOnToolCall: (call: unknown) => Promise<void>+ }+ ).capturedOnToolCall(extToolCall('te7'))})await act(async () => {await finishWithToolCalls()