effect-io-ai

Package: @effect/platform-bun
Module: BunHttpServer

BunHttpServer.layerTest

Layer starting a server on a random port and producing an HttpClient with prepended url of the running http server.

Signature

declare const layerTest: Layer.Layer<Server.HttpServer | Platform.HttpPlatform | Etag.Generator | BunContext.BunContext | HttpClient.HttpClient, HttpServerError.ServeError, never>

Source

Since v1.0.0