Skip to content

[6/N] Add unit tests for Blob mascot component - #97

Open
karkir0003 wants to merge 6 commits into
csvistool:masterfrom
karkir0003:karthik/kar-14-add-unit-tests-for-blob-mascot-component
Open

karkir0003 wants to merge 6 commits into
csvistool:masterfrom
karkir0003:karthik/kar-14-add-unit-tests-for-blob-mascot-component

Conversation

@karkir0003

@karkir0003 karkir0003 commented Oct 3, 2026 •

Copy link
Copy Markdown
Contributor

🥞 Stack

  1. ⬅️ [1/N] Update CI to run frontend unit tests #91 (Update CI to run frontend unit tests)
  2. ⬅️ [2/N] Configure React Testing Library and Setup Tests #92 (Configure React Testing Library and Setup Tests)
  3. ⬅️ [3/N] Add unit tests for SideButton component #94 (Add unit tests for SideButton component)
  4. ⬅️ [4/N] Add unit tests for SearchFilter component #95 (Add unit tests for SearchFilter component)
  5. ⬅️ [5/N] Add unit tests for Header and Footer components #96 (Add unit tests for Header and Footer components)
  6. 👉 [6/N] Add unit tests for Blob mascot component #97 — Add unit tests for Blob mascot component (this PR)
  7. ➡️ [7/N] Add unit tests for AboutScreen screen #98 (Add unit tests for AboutScreen screen)

Issue: #93

Context

Adds unit test coverage for the interactive mascot component Blob.js rendered on the HomeScreen.

Changes Made

  • Introduced src/components/__tests__/Blob.test.js to unit test mascot rendering, text bubble toggling, sequential tip cycling, and Easter egg animation with audio trigger.

Test Plan

  • Ran npm test -- --watchAll=false
  • Ran npm run lint and npx prettier --check src/
  • Verified that the CI checks pass

@karkir0003 karkir0003 changed the title Add unit tests for Blob mascot component [6/N] Add unit tests for Blob mascot component Oct 3, 2026
This was referenced Oct 3, 2026

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant