Skip to content

mobile: add tests for ProfileLink component #12

@ShantKhatri

Description

@ShantKhatri

Summary

Add Jest + React Testing Library tests for the new ProfileLink component.

Tasks

  • in apps/mobile/__tests__/ProfileLink.test.tsx, render component with sample props.
  • assert platform and username text exist.
  • simulate press event and assert onPress gets called.

Acceptance Criteria

  • tests execute with pnpm --filter @devcard/mobile test.
  • this improves mobile coverage and confirms behavior.

Metadata

Metadata

Assignees

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions