Patch Changes
-
#3409
056b710
Thanks @sukovanej! - AddBunHttpServer.layerTest
.import { HttpClientRequest, HttpRouter, HttpServer } from "@effect/platform"; import { BunHttpServer } from "@effect/platform-bun"; import { expect, it } from "bun:test"; import { Effect } from "effect"; it("test", () => Effect.gen(function* (_) { yield* HttpServer.serveEffect(HttpRouter.empty); const response = yield* HttpClientRequest.get("/non-existing"); expect(response.status).toEqual(404); }).pipe( Effect.provide(BunHttpServer.layerTest), Effect.scoped, Effect.runPromise, ));
-
Updated dependencies [
056b710
]:- @effect/platform@0.61.5
- @effect/platform-node-shared@0.11.5