chore: generate
This commit is contained in:
parent
9db5890ce5
commit
1124ae17b4
5 changed files with 37 additions and 23 deletions
|
|
@ -22,14 +22,17 @@ describe("HttpApi workspace proxy", () => {
|
|||
Effect.gen(function* () {
|
||||
const req = yield* HttpServerRequest.HttpServerRequest
|
||||
const body = yield* req.text
|
||||
return yield* HttpServerResponse.json({ path: req.url, method: req.method, body }, {
|
||||
status: 201,
|
||||
headers: {
|
||||
"content-encoding": "identity",
|
||||
"content-length": "999",
|
||||
"x-remote": "yes",
|
||||
return yield* HttpServerResponse.json(
|
||||
{ path: req.url, method: req.method, body },
|
||||
{
|
||||
status: 201,
|
||||
headers: {
|
||||
"content-encoding": "identity",
|
||||
"content-length": "999",
|
||||
"x-remote": "yes",
|
||||
},
|
||||
},
|
||||
})
|
||||
)
|
||||
}),
|
||||
)
|
||||
const url = yield* serverUrl()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue