AOSSIE-Org / AOSSIE-Org/Resonate

[ENH] Implement Unit Tests for RoomService

Abierto
#702 1 comentario 1 reacción 1 asignado Reclamado por @TenFinges Ver en GitHub
enhancement
Lenguaje dominante
Dart
Estrellas
344
Forks
350
Métricas de merge de PR
Sin PR fusionados en 30 d

Descripción

## 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

Guía de contribución

Abrir la guía de contribución

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.