Skip to content

Add switchCamera recovery coverage#25

Merged
bm12 merged 2 commits intomasterfrom
codex/add-vitest-cases-for-media-recovery-functionality
Sep 22, 2025
Merged

Add switchCamera recovery coverage#25
bm12 merged 2 commits intomasterfrom
codex/add-vitest-cases-for-media-recovery-functionality

Conversation

@bm12
Copy link
Copy Markdown
Owner

@bm12 bm12 commented Sep 22, 2025

Summary

  • add a vitest covering switchCamera when all camera candidates fail and the original camera is restored
  • assert that recovery keeps the active device id, reattaches the recovered track, and avoids showing an error
  • verify that recovery failure surfaces messageApi.error and refreshes devices

Testing

  • npm run test:client

https://chatgpt.com/codex/tasks/task_e_68d1d4a88714832a94c368f9017bf048

@bm12 bm12 merged commit 28d89a5 into master Sep 22, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant