Skip to content

YC (S26) | Open Computer History | Continuously record your company computer work, map your workflows, help you find work worth automating, and power your agents' context

test(account): pin checkout activation clock (#5832)

Louis Beaumont14facbbe709d
diff --git a/apps/screenpipe-app-tauri/components/settings/__tests__/account-section.subscription-gate.test.tsx b/apps/screenpipe-app-tauri/components/settings/__tests__/account-section.subscription-gate.test.tsx
index 89b66637b..d6fa40321 100644
--- a/apps/screenpipe-app-tauri/components/settings/__tests__/account-section.subscription-gate.test.tsx
+++ b/apps/screenpipe-app-tauri/components/settings/__tests__/account-section.subscription-gate.test.tsx
@@ -303,6 +303,7 @@ describe("AccountSection subscription/login gating", () => {
it("clears the trial date and refreshes entitlement when checkout activates", async () => {
vi.useFakeTimers();
+ vi.setSystemTime(new Date("2026-07-21T12:00:00.000Z"));
mocks.state.user = {
id: "u1",