chore: generate
This commit is contained in:
@@ -64,11 +64,7 @@ function withMcpProject<A, E, R>(self: (dir: string) => Effect.Effect<A, E, R>)
|
|||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
const readResponse = Effect.fnUntraced(function* (input: {
|
const readResponse = Effect.fnUntraced(function* (input: { app: TestApp; path: string; headers: HeadersInit }) {
|
||||||
app: TestApp
|
|
||||||
path: string
|
|
||||||
headers: HeadersInit
|
|
||||||
}) {
|
|
||||||
const response = yield* Effect.promise(() =>
|
const response = yield* Effect.promise(() =>
|
||||||
Promise.resolve(input.app.request(input.path, { method: "POST", headers: input.headers })),
|
Promise.resolve(input.app.request(input.path, { method: "POST", headers: input.headers })),
|
||||||
)
|
)
|
||||||
|
|||||||
Reference in New Issue
Block a user