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