From da8ebd3fcd65beaf0ecb64d5d6bf8189ae6b8a71 Mon Sep 17 00:00:00 2001 From: Theo Browne Date: Sat, 1 Aug 2026 00:11:26 -0700 Subject: [PATCH] test(web): handle update readiness metadata --- apps/web/test/environmentHttpTest.ts | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) 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