From 24baf18746ef87ec5f80f4b679e9c58e56b62acd Mon Sep 17 00:00:00 2001 From: SnapOtter Date: Mon, 8 Jun 2026 14:57:58 +0800 Subject: [PATCH] test: update TypingCursor tests for new hero copy and 5s interval --- tests/unit/landing/components.test.tsx | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/tests/unit/landing/components.test.tsx b/tests/unit/landing/components.test.tsx index c1e5c733..9af3ddb5 100644 --- a/tests/unit/landing/components.test.tsx +++ b/tests/unit/landing/components.test.tsx @@ -66,13 +66,15 @@ describe("Hero", () => { describe("TypingCursor", () => { it("renders the first phrase", () => { render(); - expect(screen.getByText("No signups. No accounts.")).toBeDefined(); + expect( + screen.getByText("Your images never leave your server. Novel concept, right?"), + ).toBeDefined(); }); - it("uses a 3-second interval for rotation", () => { + it("uses a 5-second interval for rotation", () => { vi.useFakeTimers(); render(); - const first = screen.getByText("No signups. No accounts."); + const first = screen.getByText("Your images never leave your server. Novel concept, right?"); expect(first).toBeDefined(); vi.useRealTimers(); });