AOSSIE-Org / AOSSIE-Org/Resonate

[ENH] Implement Unit Tests for RoomService

Open
#702 1 comment 1 reaction 1 assignee Claimed by @TenFinges View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.