Skip to content

Increase frontend test coverage to 80%+ #84

@manoahLinks

Description

@manoahLinks

Description

Current frontend tests cover Header, Footer, Hero, and WalletContext. Expand coverage to all components and pages.

Components needing tests

  • AboutSection
  • FeaturesSection
  • HowItWorksSection
  • PartnersSection
  • create-event/page.tsx (form validation, submission)
  • lib/soroban.ts (contract interaction mocking)

Requirements

  • Unit tests for all components
  • Form validation tests for event creation
  • Mock Freighter API interactions
  • Mock Soroban contract calls
  • Add coverage reporting to CI

Why

Higher test coverage prevents regressions and gives contributors confidence when making changes.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions