Skip to content

[Frontend] [Testing] Unit Testing for Media Upload file validation logic #425

Description

@Tybravo

🎯 Goal

Test the size and type validation rules.

📋 Requirements

  • Mock File objects of varying sizes and types.
  • Assert acceptance/rejection.

🔧 Technical Scope

  • Jest

📂 Affected Path

frontend/features/verification/__tests__/media-validation.test.ts

✅ Acceptance Criteria

  • Tests pass in CI.

🔗 PR Requirements

  • PR description must include: Closes #[issue_id]

Metadata

Metadata

Assignees

No one assigned

    Labels

    Stellar WaveIssues in the Stellar wave programfrontendFrontend / UI / client-side implementationhigh complexityHigh complexitytesting

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions