test(logging): type the probe handler's request argument

This commit is contained in:
Marc-André Bombeck committed 2026-10-20 06:05:56 +02:00
1 parent 72214c0208
commit ca937ba87a
1 file changed
+3 -1
@@ -96,7 +96,9 @@ describe("apiHandler's wide event", () => {
});
it("still scrubs a path secret from both fields", async () => {
const route = apiHandler(async () => apiSuccess({ ok: true }));
const route = apiHandler(async (_req: NextRequest) =>
apiSuccess({ ok: true }),
);
// No params handed in: the route falls back to the pathname, and the
// redaction floor still hides the secret.
await route(