From fce85136ca4f7edc2e1c677773ab255f63342101 Mon Sep 17 00:00:00 2001 From: Diego Rodrigues de Sa e Souza <8016841+diegosouzapw@users.noreply.github.com> Date: Wed, 1 Jul 2026 11:38:44 -0300 Subject: [PATCH] test(shared): align t3-web web-session expected metadata with hintKey (#5835) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The t3-web provider metadata intentionally carries `hintKey: "t3ChatWebCookieHint"` (#5465 — the generic cookie hint reads circular for t3.chat), but the metadata assertion in web-session-credentials was never updated, so it deep-equals against an object missing the field. This is a stale-test base-red on release/v3.8.43 that turns the whole PR queue's "Unit Tests fast-path (1/2)" red. Align the expected object to the shipped source of truth. --- tests/unit/web-session-credentials.test.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/unit/web-session-credentials.test.ts b/tests/unit/web-session-credentials.test.ts index 26360731b5..366b502960 100644 --- a/tests/unit/web-session-credentials.test.ts +++ b/tests/unit/web-session-credentials.test.ts @@ -69,6 +69,8 @@ test("web session credential metadata identifies cookie, token, and no-auth prov placeholder: "convex-session-id=abc123...; Cookie: ...", acceptsFullCookieHeader: true, storageKeys: ["cookie", "convex-session-id", "convexSessionId"], + // #5465 — t3.chat ships a step-by-step DevTools copy hint (localStorage + Cookie header). + hintKey: "t3ChatWebCookieHint", }); });