feat(voice): журнал обработанных вебхуков LiveKit

This commit is contained in:
2026-09-20 18:45:14 +03:00
parent ecd7b3be10
commit 0db4c63023
19 changed files with 1578 additions and 59 deletions
+4 -2
View File
@@ -206,7 +206,7 @@ describe('чат комнаты: лента', () => {
});
});
it('оставляет голосовую комнату с заглушкой', async () => {
it('открывает панель голосовой комнаты вместо чата', async () => {
await boot({
path: '/app/g-1/c-voice',
channels: [
@@ -215,7 +215,9 @@ describe('чат комнаты: лента', () => {
],
});
expect(await screen.findByText('Голосовая комната')).toBeVisible();
// Вместо ленты сообщений — панель голоса с кнопкой подключения.
expect(await screen.findByTestId('voice-join')).toBeVisible();
expect(screen.getByText('В комнате пока никого нет')).toBeVisible();
expect(screen.queryByTestId('message-list')).toBeNull();
expect(screen.queryByTestId('composer')).toBeNull();
});