chore: generate
This commit is contained in:
parent
7739cc53b4
commit
9b68b7195a
1 changed files with 1 additions and 5 deletions
|
|
@ -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 })),
|
||||||
)
|
)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue