AOSSIE-Org / AOSSIE-Org/Resonate

[ENH] Implement Unit Tests for RoomService

Aperta
#702 1 commento 1 reazione 1 assegnatario Rivendicata da @TenFinges Vedi su GitHub
enhancement
Lingua principale
Dart
Stelle
344
Fork
350
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

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

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.