AOSSIE-Org / AOSSIE-Org/Resonate
[ENH] Implement Unit Tests for RoomService
Open
enhancement
- Dominant language
- Dart
- Stars
- 344
- Forks
- 350
- PR merge metrics
- No merged PRs in 30d
Description
## 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
Contributor guide
Assessment
This issue has not been assessed yet.