Skip to content

qa: videocall#159

Merged
dashaaaa21 merged 1 commit intodevelopfrom
QA/video
Mar 9, 2026
Merged

qa: videocall#159
dashaaaa21 merged 1 commit intodevelopfrom
QA/video

Conversation

@dashaaaa21
Copy link
Copy Markdown
Contributor

No description provided.

Copilot AI review requested due to automatic review settings March 9, 2026 13:37
@HackYourFutures HackYourFutures temporarily deployed to study-bridge-qa-video-t7mlsu0n March 9, 2026 13:37 Inactive
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds Jest unit tests for the server-side video call flow (service + controller) to improve QA coverage around authorization and common error paths.

Changes:

  • Introduces VideoCallService unit tests for key error/guard scenarios (role checks, missing call, existing call).
  • Introduces VideoCallController unit tests for main endpoints (start/incoming/accept/decline/end) including auth/role handling and error propagation.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 2 comments.

File Description
server/tests/videoCall/videoCall.service.test.ts Adds unit tests for VideoCallService behaviors (mostly authorization and not-found/conflict paths).
server/tests/videoCall/videoCall.controller.test.ts Adds unit tests for VideoCallController HTTP handling (status codes, JSON responses, and next(error) path).

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

You can also share your feedback on Copilot code review. Take the survey.

@dashaaaa21 dashaaaa21 merged commit 21afa4d into develop Mar 9, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants