From edd768db598985b311ac7db9bb4904e60cdb54d4 Mon Sep 17 00:00:00 2001 From: Taesu Date: Sat, 17 Oct 2026 06:13:40 +0900 Subject: [PATCH] style(twitch): expand JSDoc comments --- packages/better-auth/src/oauth2/twitch-profile.test.ts | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/packages/better-auth/src/oauth2/twitch-profile.test.ts b/packages/better-auth/src/oauth2/twitch-profile.test.ts index 30589dc4d8..3688c532ae 100644 --- a/packages/better-auth/src/oauth2/twitch-profile.test.ts +++ b/packages/better-auth/src/oauth2/twitch-profile.test.ts @@ -47,7 +47,9 @@ async function tokenFor(kind = "valid") { .sign(kind === "signature" ? otherKeys.privateKey : privateKey); } -/** @see https://dev.twitch.tv/docs/authentication/getting-tokens-oidc/#validating-an-id-token */ +/** + * @see https://dev.twitch.tv/docs/authentication/getting-tokens-oidc/#validating-an-id-token + */ describe("twitch ID-token profiles", () => { it("maps a verified token without optional display claims", async () => { const provider = twitch({ clientId }); @@ -76,7 +78,9 @@ describe("twitch ID-token profiles", () => { }); }); -/** @see https://dev.twitch.tv/docs/authentication/getting-tokens-oidc/#requesting-claims */ +/** + * @see https://dev.twitch.tv/docs/authentication/getting-tokens-oidc/#requesting-claims + */ it("maps the provider's limited email claims", async () => { const result = await twitch({ clientId }).getUserInfo({ idToken: await tokenFor("unverified email"),