From 80ec402d0fc61e12ff55ba7873dd714980b97d0d Mon Sep 17 00:00:00 2001 From: Peter Steinberger Date: Thu, 30 Apr 2026 01:54:58 +0100 Subject: [PATCH] test(sdk): remove redundant fake transport cast --- packages/sdk/src/index.test.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/sdk/src/index.test.ts b/packages/sdk/src/index.test.ts index 62aa33480d7..f23b7400327 100644 --- a/packages/sdk/src/index.test.ts +++ b/packages/sdk/src/index.test.ts @@ -30,7 +30,7 @@ class FakeTransport implements OpenClawTransport { this.calls.push({ method, params, options }); const response = this.responses[method]; if (typeof response === "function") { - return (await (response as FakeResponseHandler)(params, options, this)) as T; + return (await response(params, options, this)) as T; } return response as T; }