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

test(utils): add ut to package/utils #2639

Merged
merged 1 commit into from
Nov 13, 2023
Merged

test(utils): add ut to package/utils #2639

merged 1 commit into from
Nov 13, 2023

Conversation

liujuping
Copy link
Collaborator

No description provided.

@liujuping liujuping requested a review from JackLian as a code owner November 13, 2023 04:29
Copy link

github-actions bot commented Nov 13, 2023

Coverage report for packages/utils

St.
Category Percentage Covered / Total
🟢 Statements
80.96% (+31.96% 🔼)
370/457
🟡 Branches
76.65% (+33.27% 🔼)
279/364
🟢 Functions
88.7% (+46.2% 🔼)
102/115
🟢 Lines
81.36% (+31.36% 🔼)
358/440
Show new covered files 🐣
St.
File Statements Branches Functions Lines
🟢 is-function.ts 100% 100% 100% 100%
🟡 logger.ts 68.85% 37.93% 64.29% 68.85%
🟢 transaction-manager.ts 100% 100% 100% 100%
🟢 is-shaken.ts 100% 100% 100% 100%
🟢 create-content.ts 100% 100% 100% 100%
🔴 script.ts 46.15% 16.67% 60% 46.15%
🟢 create-defer.ts 100% 100% 100% 100%
🟢 clone-deep.ts 100% 91.67% 100% 100%
🔴 navtive-selection.ts 50% 0% 50% 50%
🟢 unique-id.ts 100% 100% 100% 100%
Show files with reduced coverage 🔻
St.
File Statements Branches Functions Lines
🟡
... / is-procode-component-type.ts
66.67% (+66.67% 🔼)
50% (-50% 🔻)
100% (+100% 🔼)
66.67% (+66.67% 🔼)

Test suite run success

234 tests passing in 40 suites.

Report generated by 🧪jest coverage report action from bc56359

Copy link

github-actions bot commented Nov 13, 2023

Coverage report for packages/react-simulator-renderer

St.
Category Percentage Covered / Total
🔴 Statements 33.63% 114/339
🔴 Branches 14.53% 25/172
🔴 Functions 26.14% 23/88
🔴 Lines 34.23% 114/333

Test suite run success

2 tests passing in 1 suite.

Report generated by 🧪jest coverage report action from bc56359

Copy link

github-actions bot commented Nov 13, 2023

Coverage report for packages/renderer-core

St.
Category Percentage Covered / Total
🟡 Statements 71.72% 908/1266
🟡 Branches 60.83% 570/937
🟡 Functions 68.18% 195/286
🟡 Lines 71.76% 892/1243

Test suite run success

96 tests passing in 8 suites.

Report generated by 🧪jest coverage report action from bc56359

Copy link

github-actions bot commented Nov 13, 2023

Coverage report for packages/designer

St.
Category Percentage Covered / Total
🟢 Statements 96.1% 2855/2971
🟢 Branches 88.63% 1629/1838
🟢 Functions 95.67% 862/901
🟢 Lines 96.16% 2780/2891

Test suite run success

370 tests passing in 42 suites.

Report generated by 🧪jest coverage report action from bc56359

@JackLian JackLian merged commit 6212453 into develop Nov 13, 2023
18 checks passed
@JackLian JackLian deleted the test-ut/utils branch November 13, 2023 05:00
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.

2 participants