Skip to content

Expand test coverage beyond EventForm and PocketBase RSVP #27

@haljac

Description

@haljac

Summary

Test coverage is limited to two files:

  • src/components/EventForm.test.tsx — 50+ tests
  • src/lib/pocketbase.test.ts — RSVP function tests

Components Without Tests

High priority (interactive, stateful):

  • LoginForm.tsx — Authentication form
  • RegisterForm.tsx — Registration form
  • AccountDashboard.tsx — Account management
  • Header.tsx — Navigation with mobile menu and auth state
  • ScheduleEvents.tsx — Dynamic event schedule

Medium priority:

  • Newsletter.tsx — Form submission
  • Hero.tsx — CTA links
  • Footer.tsx — Navigation links

Acceptance Criteria

  • LoginForm has tests for login flow, validation, and error states
  • RegisterForm has tests for registration, validation, and error states
  • Header has tests for navigation and mobile menu toggle
  • ScheduleEvents has tests for event display and loading states
  • Test coverage report shows meaningful improvement

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions