Skip to content

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

test(pairing): cover the last half hour before a day

afinitus8cba0e1959dc
diff --git a/src/components/ServerPairingCard.test.ts b/src/components/ServerPairingCard.test.ts
index 80a93bc0ea..5a44fa909b 100644
--- a/src/components/ServerPairingCard.test.ts
+++ b/src/components/ServerPairingCard.test.ts
@@ -20,6 +20,7 @@ describe("pairing devices from a hosted server's settings", () => {
expect(lastSeen(1_000, 30_000)).toBe("just now");
expect(lastSeen(0, 3 * 60_000)).toBe("3 min ago");
expect(lastSeen(0, 5 * 3_600_000)).toBe("5 h ago");
+ expect(lastSeen(0, 1_410 * 60_000)).toBe("1 d ago");
expect(lastSeen(0, 3 * 86_400_000)).toBe("3 d ago");
});