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.
Description
Current frontend tests cover Header, Footer, Hero, and WalletContext. Expand coverage to all components and pages.
Components needing tests
AboutSectionFeaturesSectionHowItWorksSectionPartnersSectioncreate-event/page.tsx(form validation, submission)lib/soroban.ts(contract interaction mocking)Requirements
Why
Higher test coverage prevents regressions and gives contributors confidence when making changes.