AOSSIE-Org / AOSSIE-Org/Resonate

[ENH] Implement Unit Tests for RoomService

Đang mở
#702 1 bình luận 1 reaction 1 người được giao Được @TenFinges nhận Xem trên GitHub
enhancement
Ngôn ngữ chính
Dart
Star
344
Fork
350
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

## Problem

Currently, the `RoomService` class lacks unit tests, identifying potential regressions in room management features is difficult.

## Solution

Implement unit tests for `RoomService` to ensure the reliability of room creation, joining, and deletion functionality.

## Tasks

- [x] Refactor `RoomService` for testability
- [x] Implement tests for `createRoom`
- [x] Implement tests for `joinRoom`
- [x] Implement tests for `deleteRoom`
- [x] Add necessary mocks

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.