Skip to content

Open-source Grok Bot alternative with a virtual machine that bots can use

Train T2 fix for #7278: the Apps row test's sign-in code no longer expired on a fixed date

milind-soni4794c13ccfb6
diff --git a/src/components/github/GithubAppCard.dom.test.ts b/src/components/github/GithubAppCard.dom.test.ts
index 4f801fb3a6..86ca89e86e 100644
--- a/src/components/github/GithubAppCard.dom.test.ts
+++ b/src/components/github/GithubAppCard.dom.test.ts
@@ -13,7 +13,7 @@ import { GithubAppCard } from "./GithubAppCard";
(globalThis as { IS_REACT_ACT_ENVIRONMENT?: boolean }).IS_REACT_ACT_ENVIRONMENT = true;
const SIGNED_OUT: GithubSignInStatus = { state: "signed-out", download: false };
-const CODE: GithubSignInStatus = { state: "signing-in", code: "wdjbmjht", verificationUrl: "https://github.com/login/device", expiresAt: Date.UTC(2026, 10, 24, 9, 15) };
+const CODE: GithubSignInStatus = { state: "signing-in", code: "wdjbmjht", verificationUrl: "https://github.com/login/device", expiresAt: Date.now() + 900_000 };
let root: Root | null = null;
let host: HTMLElement;