diff --git a/apps/web/test/environmentHttpTest.ts b/apps/web/test/environmentHttpTest.ts index ce43faacc4..27c3df55e8 100644 --- a/apps/web/test/environmentHttpTest.ts +++ b/apps/web/test/environmentHttpTest.ts @@ -73,13 +73,15 @@ export async function installEnvironmentHttpTest(scenario: EnvironmentHttpTestSc Effect.provide([ NodeHttpServer.layerHttpServices, HttpApiBuilder.group(EnvironmentHttpApi, "metadata", (handlers) => - handlers.handle( - "descriptor", - Effect.fn("test.environment.metadata.descriptor")(function* () { - calls.descriptor += 1; - return yield* scenario.descriptor?.() ?? unexpectedEndpoint("metadata.descriptor"); - }), - ), + handlers + .handle( + "descriptor", + Effect.fn("test.environment.metadata.descriptor")(function* () { + calls.descriptor += 1; + return yield* scenario.descriptor?.() ?? unexpectedEndpoint("metadata.descriptor"); + }), + ) + .handle("ready", () => unexpectedEndpoint("metadata.ready")), ), HttpApiBuilder.group(EnvironmentHttpApi, "auth", (handlers) => handlers