diff --git a/apps/t3/src/runtimeApiServer.test.ts b/apps/t3/src/runtimeApiServer.test.ts index 20a16d45c6..db991ce193 100644 --- a/apps/t3/src/runtimeApiServer.test.ts +++ b/apps/t3/src/runtimeApiServer.test.ts @@ -169,6 +169,7 @@ describe("runtimeApiServer", () => { servers.push(server); const authorizedUrl = new URL(server.wsUrl); + expect(authorizedUrl.searchParams.get("token")).toBe("secret-token"); const unauthorizedUrl = `${authorizedUrl.origin}${authorizedUrl.pathname}`; const unauthorizedClient = new WebSocket(unauthorizedUrl); const unauthorizedClose = await withTimeout(