Skip to content

Commit 4fb83a0

Browse files
committed
test(server): use Effect.promise in the DPoP challenge test
1 parent 8429574 commit 4fb83a0

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎apps/server/src/auth/http.test.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,7 @@ it.effect.each(["DPoP", "dpop"])("challenges a refused %s request with DPoP", (s
175175
return yield* Effect.acquireUseRelease(
176176
Effect.sync(() => HttpRouter.toWebHandler(layerRoutes, { disableLogger: true })),
177177
(environment) =>
178-
Effect.tryPromise(async () => {
178+
Effect.promise(async () => {
179179
const refused = await environment.handler(
180180
postJson(
181181
"/api/auth/pairing-token",

0 commit comments

Comments
 (0)