Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: UT #17

Merged
merged 12 commits into from
Oct 24, 2023
Merged

chore: UT #17

merged 12 commits into from
Oct 24, 2023

Conversation

guoxianzhe
Copy link
Collaborator

No description provided.

@github-actions
Copy link

github-actions bot commented Oct 22, 2023

Coverage report for iris-web-rtc

St.
Category Percentage Covered / Total
🟡 Statements
66.65% (+20.16% 🔼)
3207/4812
🔴 Branches
55.04% (+40.45% 🔼)
535/972
🟡 Functions
61.36% (+12.73% 🔼)
991/1615
🟡 Lines
66.16% (+19.81% 🔼)
3111/4702
Show new covered files 🐣
St.
File Statements Branches Functions Lines
🟢 src/IrisRtcApi.ts 100% 87.5% 100% 100%
🟡
... / IrisRtcEngine.ts
77.88% 68.97% 57.89% 79.21%
🟢
... / IAgoraMediaEngineDispatch.ts
100% 100% 100% 100%
🟢
... / CallApiBufferExtensions.ts
100% 83.33% 100% 100%
🔴
... / IAgoraMediaEngineImpl.ts
56.47% 64.29% 30.43% 55.42%
🟡
... / IrisClientObserver.ts
74.43% 64.29% 93.94% 74.77%
🟢
... / BaseType.ts
100% 100% 100% 100%
🔴
... / IrisTrackEventHandler.ts
47.56% 10.87% 9.09% 47.56%
🟢 src/util/index.ts 100% 100% 100% 100%
🟢
... / AgoraConsole.ts
100% 100% 100% 100%
🔴
... / AgoraTool.ts
5.56% 0% 0% 5.88%
🔴
... / AgoraTranslate.ts
9.09% 4.88% 13.89% 9.24%
🟡
... / BufferConvert.ts
72.73% 33.33% 100% 73.68%
🟢
... / IAgoraMediaPlayerDispatch.ts
100% 100% 100% 100%
🔴
... / IAgoraMediaPlayerImpl.ts
4.35% 100% 2.94% 4.35%
🟢
... / IAgoraMediaRecorderDispatch.ts
100% 100% 100% 100%
🔴
... / IAgoraMediaRecorderImpl.ts
40% 100% 25% 40%
🟢
... / IAgoraMusicContentCenterDispatch.ts
97.59% 100% 94.44% 97.59%
🔴
... / IAgoraMusicContentCenterImpl.ts
17.24% 100% 14.29% 17.24%
🟢
... / IAgoraRtcEngineDispatch.ts
99.37% 95.12% 98.99% 99.56%
🔴
... / IAgoraRtcEngineImpl.ts
41.04% 77.5% 28.06% 39.1%
🟡
... / IrisClient.ts
67.37% 58.06% 35.71% 67.02%
🔴
... / IrisClientEventHandler.ts
37.61% 2.7% 11.11% 37.93%
🟡
... / IrisClientManager.ts
70.69% 43.88% 76.47% 70.48%
🟡
... / IrisClientState.ts
73.91% 66.67% 100% 73.91%
🟢
... / IAgoraRtcEngineExDispatch.ts
100% 100% 100% 100%
🔴
... / IAgoraRtcEngineExImpl.ts
31.58% 71.43% 21.31% 29.73%
🟢
... / IAgoraSpatialAudioDispatch.ts
100% 100% 100% 100%
🔴
... / IAgoraSpatialAudioImpl.ts
7.32% 100% 5% 7.32%
🟢
... / IAudioDeviceManagerDispatch.ts
100% 100% 100% 100%
🔴
... / IAudioDeviceManagerImpl.ts
6.67% 100% 3.45% 6.67%
🔴
... / IrisAgoraEventHandler.ts
19.05% 100% 16.67% 19.05%
🔴
... / IAgoraRtcEngineExtensions.ts
50% 0% 50% 55.56%
🟡
... / ClientHelper.ts
75% 50% 100% 75%
🟢
... / DomHelper.ts
92.31% 60% 100% 92.31%
🟢
... / ImplHelper.ts
83.22% 62.71% 100% 83.22%
🔴
... / TrackHelper.ts
51.61% 76% 100% 51.61%
🟢
... / IrisGlobalState.ts
89.19% 100% 50% 89.19%
🔴
... / ErrorHandler.ts
44.44% 100% 33.33% 44.44%
🟢 test/utils/index.ts 94.12% 80% 83.33% 94.12%
🟢
... / AgoraMediaBaseDispatch.ts
81.82% 100% 62.16% 81.82%
🟢
... / IAgoraMediaPlayerSourceDispatch.ts
93.33% 100% 85.71% 93.33%
🟢
... / AgoraBaseDispatch.ts
85.71% 100% 66.67% 85.71%

Test suite run success

750 tests passing in 15 suites.

Report generated by 🧪jest coverage report action from 6588176

@guoxianzhe guoxianzhe merged commit 1bb8fda into main Oct 24, 2023
@guoxianzhe guoxianzhe deleted the dev/unit-test branch October 24, 2023 08:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant