chore: generate
This commit is contained in:
parent
a9d399699e
commit
6d4629b566
2 changed files with 2 additions and 7 deletions
|
|
@ -66,9 +66,7 @@ describe("HttpApi CORS", () => {
|
|||
it.live("uses custom CORS origins passed to the server", () =>
|
||||
Effect.gen(function* () {
|
||||
const listener = yield* Effect.acquireRelease(
|
||||
Effect.promise(() =>
|
||||
Server.listen({ hostname: "127.0.0.1", port: 0, cors: ["https://custom.example"] }),
|
||||
),
|
||||
Effect.promise(() => Server.listen({ hostname: "127.0.0.1", port: 0, cors: ["https://custom.example"] })),
|
||||
(listener) => Effect.promise(() => listener.stop(true)),
|
||||
)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue