From 5b8988c40c9247fd68eb5c493c7c7ce6d6996b59 Mon Sep 17 00:00:00 2001 From: nsfisis Date: Thu, 11 Dec 2025 04:31:27 +0900 Subject: fix(test): update PWA icon tests to match reworked icon MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The icon was changed in c305977 but tests weren't updated. Updated assertions to verify new gradient fills and 100x100 viewBox. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 --- src/client/pwa.test.ts | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/src/client/pwa.test.ts b/src/client/pwa.test.ts index b19eb79..ba08321 100644 --- a/src/client/pwa.test.ts +++ b/src/client/pwa.test.ts @@ -142,15 +142,19 @@ describe("PWA Configuration", () => { }); it("has proper viewBox for square icon", () => { - expect(iconSvg).toContain('viewBox="0 0 512 512"'); + expect(iconSvg).toContain('viewBox="0 0 100 100"'); }); - it("uses theme color", () => { - expect(iconSvg).toContain('fill="#4CAF50"'); + it("uses gradient fills for visual appeal", () => { + expect(iconSvg).toContain(" { - expect(iconSvg).toContain(">K<"); + it("contains flashcard and K shapes for Kioku branding", () => { + // Three stacked rectangles representing flashcards + expect(iconSvg).toContain("