diff options
| -rw-r--r-- | packages/opencode/test/server/httpapi-mcp.test.ts | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/packages/opencode/test/server/httpapi-mcp.test.ts b/packages/opencode/test/server/httpapi-mcp.test.ts index d6dbc5619..bb6635b52 100644 --- a/packages/opencode/test/server/httpapi-mcp.test.ts +++ b/packages/opencode/test/server/httpapi-mcp.test.ts @@ -64,11 +64,7 @@ function withMcpProject<A, E, R>(self: (dir: string) => Effect.Effect<A, E, R>) }) } -const readResponse = Effect.fnUntraced(function* (input: { - app: TestApp - path: string - headers: HeadersInit -}) { +const readResponse = Effect.fnUntraced(function* (input: { app: TestApp; path: string; headers: HeadersInit }) { const response = yield* Effect.promise(() => Promise.resolve(input.app.request(input.path, { method: "POST", headers: input.headers })), ) |
