Add mock data and unit tests for Channels and Members APIs

This commit is contained in:
2025-12-07 04:41:41 -05:00
parent 4673547b95
commit 58a938d0e7
12 changed files with 1377 additions and 0 deletions

15
test/mocks/Member.ts Normal file
View File

@@ -0,0 +1,15 @@
export const mockMember = {
sessionId: 'session-123',
screenName: 'Test User',
role: 'Presenter',
streams: [
{
type: 'video',
uri: 'pcast://example.com/stream-id-123',
audioState: 'active',
videoState: 'active'
}
],
state: 'active',
lastUpdate: Date.now()
};