opencode-agent[bot] 4 месяцев назад
Родитель
Сommit
9b68b7195a
1 измененных файлов с 1 добавлено и 5 удалено
  1. 1 5
      packages/opencode/test/server/httpapi-mcp.test.ts

+ 1 - 5
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 })),
   )