AgoraIO-Extensions / agora-rtc-react

Agora RTC React SDK
https://agoraio-extensions.github.io/agora-rtc-react/
MIT License
29 stars 10 forks source link

feat: support 4.21.0 #193

Closed guoxianzhe closed 4 months ago

guoxianzhe commented 6 months ago
github-actions[bot] commented 6 months ago

Coverage Summary for `./packages/agora-rtc-react`

Status Category Percentage Covered / Total
🔵 Lines 95.28% 2584 / 2712
🔵 Statements 95.28% 2584 / 2712
🔵 Functions 86.95% 40 / 46
🔵 Branches 88.98% 210 / 236
File Coverage
File Stmts % Branch % Funcs % Lines Uncovered Lines
packages/agora-rtc-react/src/error.ts 100% 100% 100% 100%
packages/agora-rtc-react/src/index.ts 100% 100% 100% 100%
packages/agora-rtc-react/src/types.ts 100% 100% 100% 100%
packages/agora-rtc-react/src/components/LocalAudioTrack.tsx 100% 100% 100% 100%
packages/agora-rtc-react/src/components/LocalUser.tsx 100% 100% 100% 100%
packages/agora-rtc-react/src/components/LocalVideoTrack.tsx 100% 100% 100% 100%
packages/agora-rtc-react/src/components/RemoteAudioTrack.tsx 100% 100% 100% 100%
packages/agora-rtc-react/src/components/RemoteUser.tsx 100% 100% 100% 100%
packages/agora-rtc-react/src/components/RemoteVideoTrack.tsx 100% 100% 100% 100%
packages/agora-rtc-react/src/components/TrackBoundary.tsx 67.7% 88.88% 50% 67.7% 22-61, 88-95, 118-119, 150-151
packages/agora-rtc-react/src/components/UserCover.tsx 95.83% 50% 100% 95.83% 43-44
packages/agora-rtc-react/src/hooks/events.ts 93.79% 100% 0% 93.79% 460-479, 565-580
packages/agora-rtc-react/src/hooks/useConnectionState.ts 92.15% 44.44% 100% 92.15% 37-38, 46-47
packages/agora-rtc-react/src/hooks/useCurrentUID.ts 95.12% 75% 100% 95.12% 31-32
packages/agora-rtc-react/src/hooks/useIsConnected.ts 89.36% 50% 100% 89.36% 35-37, 42-43
packages/agora-rtc-react/src/hooks/useJoin.ts 98.24% 85.71% 100% 98.24% 99-100
packages/agora-rtc-react/src/hooks/useLocalCameraTrack.ts 100% 100% 100% 100%
packages/agora-rtc-react/src/hooks/useLocalMicrophoneTrack.ts 100% 100% 100% 100%
packages/agora-rtc-react/src/hooks/useLocalScreenTrack.ts 100% 100% 100% 100%
packages/agora-rtc-react/src/hooks/useNetworkQuality.ts 95.83% 66.66% 100% 95.83% 43-44
packages/agora-rtc-react/src/hooks/usePublish.ts 93.69% 75% 100% 93.69% 60-65, 68
packages/agora-rtc-react/src/hooks/useRTCClient.tsx 100% 100% 100% 100%
packages/agora-rtc-react/src/hooks/useRTCScreenShareClient.tsx 53.84% 100% 0% 53.84% 13-21, 24-26
packages/agora-rtc-react/src/hooks/useRemoteAudioTracks.ts 98.84% 88% 100% 98.84% 79, 81
packages/agora-rtc-react/src/hooks/useRemoteUserTrack.ts 100% 100% 100% 100%
packages/agora-rtc-react/src/hooks/useRemoteUsers.ts 100% 75% 100% 100%
packages/agora-rtc-react/src/hooks/useRemoteVideoTracks.ts 98.82% 88% 100% 98.82% 78, 80
packages/agora-rtc-react/src/hooks/useVolumeLevel.ts 100% 100% 100% 100%